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

2013/1/17

must be caught or declared to be thrown

1
2
danpost danpost

2013/1/23

#
I created a 'Pause' world that when instantiated will create a background image of the current visual state of the calling world. Even though the initial world is not being viewed, it appears as though it is. Also, when setting a new active world, the old world is paused; so, the background of the new world would continue to be the actual view of the initial world until that world is returned to. I added an actor 'Panel' class to the scenario, and had one Panel object added to the 'Pause' world which displays the world 'GAME PAUSED' and 'CLICK TO RESTART'. When clicked on it displays a countdown starting with 'RESTART IN' '3' to '2' to '1', before restarting the initial world.
You need to login to post a reply.
1
2