This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-10-26 00:37:41

undeadcleric
New Scratcher
Registered: 2011-10-01
Posts: 1

Is making a high-score board in a scratch project possible?

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  smile

Offline

 

#2 2011-10-26 00:46:14

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: Is making a high-score board in a scratch project possible?

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

 

#3 2011-10-26 05:06:30

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Is making a high-score board in a scratch project possible?

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.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#4 2011-10-26 05:43:19

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Is making a high-score board in a scratch project possible?

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.


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#5 2011-10-27 19:01:20

AIOlover
Scratcher
Registered: 2011-05-08
Posts: 100+

Re: Is making a high-score board in a scratch project possible?

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.


I'm currently http://blocks.scratchr.org/API.php?user=AIOlover&action=onlineStatus&type=text!
big_smile ~AIOlover~ big_smile

Offline

 

Board footer