Is making a high-score board in a scratch project possible?
I'm making a quiz game and I would like to add a high score board to record players' scores. Is that possible? Like in pinball on Windows. My game has to restart (press the green flag) after finished every time. Can the score be saved after clicking the green flag or quiting the game?
Thanks
Offline
Unless you want to use panther where you can save files, or you want people to export the high score list themselves, no...
And exporting lists doesn't work online.
I'm reporting this for you for moveal, okay?
Offline
Hopefully, the next version of Scratch will have some kind of persistent variables (there has been some research in that area) but I can't guarantee it. There really isn't any way to do it in the standard current version, unfortunately.
I think this topic is okay for Advanced Topics since it touches on modified versions of Scratch.
Offline
Providing you SAVE the game after every use, you should be able to record and display scores using lists which are under the variables tab. It sounds to me like that would be a fine solution to your question.
If you're happy to save the project before you close it, you can use the [add [ ] to [list]] block to add the current score to a list of scores.
Offline
It is quite possible to do with the version of Scratch we have now, if you want to be able to click the green flag and save a score for the next game. It won't save it permanently, but it will work for the time that they're on the web page. I made an example project, if you go to my page. It's the Test of High Scores project. Hope this helps.
~AIOlover~
Offline