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

#1 2007-09-06 15:40:59

dinther
Scratcher
Registered: 2007-08-22
Posts: 19

Persistent variables

It would be awesome if Scratch would offer a few (Say 5) persistent variables for each game in the users account. With persistent I mean stored on the scratch database. This would enable features such as hi-score tracking.


Find out what it is like to steer large ships into the Port of Rotterdam in ShipSim http://scratch.mit.edu/projects/dinther/32891

Offline

 

#2 2007-09-10 15:08:44

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: Persistent variables

The idea is very good... But maybe that few bits, for ALL the projects of scratch would be to much.) Maybe the persistent variables are better stored in a cookie.

Last edited by JSO (2008-01-05 04:36:00)


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

#3 2007-09-11 14:19:14

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: Persistent variables

There is a difference between persistent values on the server for each project (which is what would be needed for high score, for example), and for each person who plays the program.    For each player, a cookie stored on the player's computer may be fine.
For each program, the amount of data to be stored is trivial, but the interface may be more of a problem.

Personally, I think that there are more important issues for the Scratch team to be working on, but this will probably get more attention from them, since they seem to like the idea of multi-computer games, and persistent, shared variables may be essential for that to work.

Offline

 

#4 2008-01-07 22:32:46

pasta
Scratcher
Registered: 2008-01-07
Posts: 1

Re: Persistent variables

just wanted to state that this is an issue for me as well. really need persistent values to create high score for games.

any news on this?

Offline

 

Board footer