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

2011/12/17

Simulation Won't Run

redmobre redmobre

2011/12/17

#
I'm making a simulation in Greenfoot for school project. Everything compiles, but the pause, run, and act buttons are all greyed out. What would cause this?
Builderboy2005 Builderboy2005

2011/12/17

#
This could happen if your world initialization never terminates (for example if there is an infinite loop). Could you post your world constructor code so we can check it out? It's also possible if the constructor creates an object that has an infinite loop inside of its constructor, or if an object creates another of itself during construction.
redmobre redmobre

2011/12/17

#
It was an infinite loop, thanks.
Builderboy2005 Builderboy2005

2011/12/17

#
Awesome ^^ Glad to help!
You need to login to post a reply.