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

2018/2/1

Keep the best score on the main menu

1
2
danpost danpost

2018/2/2

#
frequency wrote...
It works but the high scores wont stay there. They go to 0. Also after we fix that i want to call it from a button. And the appear a new "screen" with a custom image saying the score!
I gather then that you want permanent high scores -- not just session high scores. Do you also want them saved for any and all users -- or just high scores in general? You can utilize the UserInfo class to save scores per user. If just general high scores, you will probably have to read and write to a seperate text file of your own making. Either way, you will probably need a new Actor or a new World class to accommodate displaying of the high score screen.
danpost danpost

2018/2/2

#
I will probably not be able to assist you with that until tomorrow. Sorry -- got things to do.
frequency frequency

2018/2/2

#
Sure! Thank you! I got this version to be finished until next week! It will be the final version! Thanks!
You need to login to post a reply.
1
2