Time for action – adjusting the drop-location of the statue
The game file that needs to be imported and loaded for this session is 5961_04_06.stencyl
.
Ensure that the Drop Actors Randomly
behavior is displayed onscreen. Execute the following steps:
Click on the drop-down arrow to right of the x textbox (it currently contains the number
320
).Move the mouse cursor over Math in the drop-down menu.
In the Arithmetic section of the pop-up menu, click on the 0 + 0 block.
Note
Note that the zeroes in the new green instruction block do not appear in our event blocks, they have been replaced by empty textboxes.
In the left-hand blank textbox of the new of camera + … block, click on the drop-down arrow.
Select Scene from the drop-down menu.
In the Basics section of the pop-up menu, click on the red x of camera block.
In the right-hand blank textbox of the of camera + … block, enter the number
320,
as shown in the following screenshot:Test the game. Make the monkey run to the right of the scene.