This site requires JavaScript, please enable it in your browser!
Greenfoot back
docinkc
docinkc wrote ...

2014/4/29

Having a Screen in between worlds

docinkc docinkc

2014/4/29

#
I am trying to make it so when I change levels in my game a screen comes up saying Next Level instead of switching straight to the next level in the game. Also on the Next Level screen you can press space bar and it changes to the next level.
danpost danpost

2014/4/29

#
You can start a new world, passing the world to proceed to when the key is detected. The background of this world can say 'Next Level' and instruct to press the key to continue. This world will need a field to hold the world object that it will proceed to and the constructor must assign that field the value passed in its argument. For a demo, refer to my Crayon Babies: A World Changing Demo scenario.
You need to login to post a reply.