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

2013/5/7

New world when the actor dies

morgs1311 morgs1311

2013/5/7

#
When there is a winner, in my game, I would like a new world to appear. I think it might be side-scrolling but im unsure! If you could answer this then I will be grateful!
Gevater_Tod4711 Gevater_Tod4711

2013/5/7

#
If you want to set the world of your game you can use Greenfoot.setWorld(). You can use it like this:
Greenfoot.setWorld(new World2());
this will create a new World2 object. Or if you want to use a scrolling world you can use this scrolling super world.
morgs1311 morgs1311

2013/5/14

#
Thanks for your help!
You need to login to post a reply.