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

#1 2012-09-02 12:35:33

Pfctink
Scratcher
Registered: 2012-08-28
Posts: 22

Data persistence/MySQL

Players often find themselves playing a scratch game, and they work so hard in the game to get to a certain point in the game where they just get bored of it and exit from the game and thinking they can come back later to play it again from the exact point they left off. But Scratch has no save systems, nothing that allows a player to save their game and allow them to get back on that project with the same data they left with.

Solution: Data persistence.

Data persistence is great for many games, players will work hard for something with the knowledge that they can leave at a save point with all their items/place they're on.

I know it may be a little difficult to put onto scratch, but it would be well worth it for the communities' projects.

Offline

 

#2 2012-09-02 12:36:38

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: Data persistence/MySQL

In Scratch 2.0, they are implementing cloud variables, and I think that this can be accomplished with that.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#3 2012-09-02 12:45:16

Pfctink
Scratcher
Registered: 2012-08-28
Posts: 22

Re: Data persistence/MySQL

Cloud variables are like stringvalues, am I correct?

Offline

 

#4 2012-09-02 13:00:39

zammer990
Scratcher
Registered: 2012-01-22
Posts: 500+

Re: Data persistence/MySQL

Pfctink wrote:

Cloud variables are like stringvalues, am I correct?

data that is stored after leaving, instead of resetting


http://i45.tinypic.com/2ynq7nn.jpg Play now!

Offline

 

#5 2012-09-02 18:42:59

ImagineIt
Scratcher
Registered: 2011-02-28
Posts: 1000+

Re: Data persistence/MySQL

jvvg wrote:

In Scratch 2.0, they are implementing cloud variables, and I think that this can be accomplished with that.

Yes, but that would take some work.

Offline

 

#6 2012-09-02 19:17:40

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: Data persistence/MySQL

ImagineIt wrote:

jvvg wrote:

In Scratch 2.0, they are implementing cloud variables, and I think that this can be accomplished with that.

Yes, but that would take some work.

Not really, store in separate lists the settings when the user left and the user ID (which would be easier with multi-dimensional lists...), then just access the data through the user ID block


Why

Offline

 

Board footer