February 2014
Intermediate to advanced
330 pages
7h 11m
English
We will add a script to the sprite we just created that selects a costume at random and copies it onto the stage. With a double for loop, we will make sure the tile generator steps around the entire stage, so no space is left blank.
To set up this game, we will create a small control script in the Stage object to set everything in motion as follows:

This message will trigger when a new maze should be generated. It can be activated by pressing the Spacebar key and at a later stage, ...
Read now
Unlock full access