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

2019/12/4

World not instantiating

genju genju

2019/12/4

#
i had a functioning game when i wrote some code that didnt work so i deleted it then my client crashed and when i reopened greenfoot, the scenario had all my code in but no background no actor no nothing. all it says is "Instantiate a New World Object" and nothing more as if it was a completely new scenario
danpost danpost

2019/12/4

#
If you can, comment out all but the basic codes needed to build a world . Then un-comment a little at a time, ensuring it builds after each step. Maybe you can find where the problem is that way..
genju genju

2019/12/4

#
danpost wrote...
If you can, comment out all but the basic codes needed to build a world . Then un-comment a little at a time, ensuring it builds after each step. Maybe you can find where the problem is that way..
hmm ill try that and let u know how it goes
genju genju

2019/12/4

#
the problem is fixed now, i did the commenting thing but that wasnt what fixed everything.. for some reason i just needed to right click the class in the main screen and click new StartWorld(). not sure why that happened but atleast now i know what to do in case it happens again, thanks for the quick response dan
You need to login to post a reply.