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

2013/10/17

How can i simply open one of my worlds in the view?

gamer9999 gamer9999

2013/10/17

#
Im new to Greenfoot and have problems to open a world.On the right side of the window i have different worlds and im wondering how can i view them in the viewer? When i make a click on one of my worlds the editor opens! Sometimes after compiling my classes somehow the view of the world dissapears and i dont know how to open it again! Thanks for your help! I know its a beginner question!
danpost danpost

2013/10/17

#
You may have inadvertently created an infinite loop in your world constructor and construction of the world does not complete (leaving no world to display). If your 'Act/Run/Reset' buttons are inactive (dulled state), this is probably the case. If you can open your world class editor, comment out all but the 'super' call in the constructor and re-compile. If you cannot compile, go to the menubar and try 'Controls>Show Debugger' and click on 'Terminate'. If you are unable to do that, then go to your Task Manager and 'End Task' on the project and begin again.
danpost danpost

2013/10/17

#
Once you get your project back (and have full control of it), uncomment little by little what you commented out and compile after each section uncommented. If you run into the same problem as before, you know that the problem resides in the last part you uncommented.
You need to login to post a reply.