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

2016/10/19

hi score

Nosson1459 Nosson1459

2016/10/19

#
is there any way 2 make a hi score that stays from game 2 game
danpost danpost

2016/10/19

#
Nosson1459 wrote...
is there any way 2 make a hi score that stays from game 2 game
Only for each compiling. Each time the scenario is compiled a new session begins with no previous high score. The high score field would have to be a class field (static).
Nosson1459 Nosson1459

2016/10/19

#
that was my Q. can it b saved even after closing the program and restarting i guess not thnx anyway
danpost danpost

2016/10/19

#
Nosson1459 wrote...
that was my Q. can it b saved even after closing the program and restarting
It can be done; but, only locally. It cannot run that way on the greenfoot site or in a webpage.
You need to login to post a reply.