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

2016/4/13

World Reset

Luc_Stoffer Luc_Stoffer

2016/4/13

#
Hey There I have a little problem with my program... When I lose my game, a GameOver-Screen appears but if I then press the "Reset Button" and try to run the program again, immediatelly the "GameOver-Screen" appears again... Has anyone a clue where the fault could be? Thanks for your help:)
danpost danpost

2016/4/13

#
Luc_Stoffer wrote...
When I lose my game, a GameOver-Screen appears but if I then press the "Reset Button" and try to run the program again, immediatelly the "GameOver-Screen" appears again... Has anyone a clue where the fault could be?)
You are probably using static fields where you shouldn't -- or you are not initializing their values in your initial world where you should.
You need to login to post a reply.