
Learning Stencyl 3.x Game Development: Beginner's Guide
By :

The game file that needs to be imported and loaded for this session is 5961_04_08.stencyl
.
We're going to modify our instructions so that the statues are dropped at a random location, so ensure that the Drop Actors Randomly
behavior is being displayed. Execute the following steps in order to introduce randomness to our behavior:
Click and drag the green multiplication block out of the addition block, and drop it onto the gray background, below the orange do every 3 seconds block, as shown in the following screenshot:
Click on the drop-down arrow in the now empty textbox in the green x of camera + … block.
Select Math from the drop-down menu and then, in the Operations section of the pop-up menu, click on the random number between … block.
Enter the number 0
into the textbox immediately after the word between.
Click on the drop-down arrow in the textbox immediately after the word and.
From the drop-down menu, select Scene, and then click on...
Change the font size
Change margin width
Change background colour