Adding the buttons

Now that we have created the shell of our Main Menu scene, it's time to start working on all those import buttons! Follow these steps:

  1. Go to the Dashboard tab, select Actor Types, and click on Create New.
  2. In the window that ensues, set Name to Play Game Button, and click on Create.
  3. Click on This Actor Type contains no animations. Click here to add an animation button, and your first blank animation will appear for the button, called Animation 0.
  4. Change the Name for this animation to Default.
  5. Select Click here to add a frame, then navigate to and select Game Assets\Graphics\GUI Elements\ play button.png.
  6. Once you have imported this default animation, switch to the Physics context, and change the Actor Type to Cannot Move, as shown ...

Get Stencyl Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.