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

2013/1/6

How to set world at beginning of game

LonelyCreeper LonelyCreeper

2013/1/6

#
In my game, I have 3 different worlds. How do I make it so that when the execution starts, it automatically starts at a certain one of the worlds?
danpost danpost

2013/1/6

#
Manually instantiate the world you wish to begin with. That is: you know how you double click on the class to look at its code -- well, instead of double left clicking, single right click for the menu options and select the constructor (top line beginning with 'new'). The last world class instantiated in this manner will be set as the world first instantiated in your scenario.
LonelyCreeper LonelyCreeper

2013/1/6

#
Thanks!
You need to login to post a reply.