Report as inappropriate.
This project demonstrates a way to pass an actor and two counters that the actor uses from one world to the next. When the main actor reaches the edge of one world, a new world is introduced to continue in if not outside the larger grid of worlds. A crazy looking 'setRotation' statement is given to make the actor face the appropriate direction when moving. The world class can be subclassed with levels to create different set-ups for each one. The boolean argument in one of the Level world constructors is used to differentiate between the starting world and continuation worlds. This allows the proper operations when the scenario is reset without re-compilation.
5035 views / 14 in the last 7 days
2 votes | 0 in the last 7 days
This scenario is a member of: Demos by danpost
Want to leave a comment? You must first log in.
2013/11/4
2013/11/4
2013/11/4
2013/11/4
2013/11/4
2013/12/9
2013/12/9