Time for action – increasing the width of the scene
The game file to import and load for this session is 5961_02_10.stencyl
.
We're going to change the width of the scene, so we need to display the jungle scene's properties:
On the Dashboard, click on the Scenes heading.
Double-click the thumbnail image for the Jungle scene.
Ensure that the Scene button is selected in the row of buttons at the upper-center of the screen.
Click on the Properties button in the same row of buttons.
In the Edit Scene Properties dialog box, under the Size heading, change the Width from
20
to60
.Click on OK.
Test the game by making the monkey run past the rightmost edge of the scene, and then close the Flash Player window—expect a problem to occur when the monkey leaves the edge of the screen!
What just happened?
We've increased the width of the scene from its original 20 tiles to 60 tiles—three times its original width. We can see that, as soon as we confirmed the changes to the width of the scene, it immediately increased...