Time for action – creating the pause framework
The game file to import and load for this session is 5961_07_08.stencyl
.
Locate and download the actor called Stencyl Book Paused Banner from StencylForge.
When the Stencyl Book Paused Banner actor has downloaded, click on the Physics button in the row of buttons at the upper-center of the screen.
In the General section, which is currently displayed in the main panel, change the What kind of actor type? setting to Cannot Move.
Click on the Advanced icon at the top of the panel, and change the Can be Paused? setting to No.
Close the tabs for the Stencyl Book Paused Banner actor and StencylForge.
Create a new scene behavior called
Pause Management
.Using the green Attach to Scene button at the upper-right corner of the screen, add the new behavior to the scene called Level1.
Switch back to the Pause Management behavior, then repeat step 7, attaching the behavior to Level2 and Level3 (but not Level4, which is the yellow, completed scene).
Close the tabs...