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

#1 2010-07-14 02:24:20

Flait7
Scratcher
Registered: 2008-04-14
Posts: 100+

Cookies

I think the programmers of scratch should add in the ability to use cookies to save information that would normally be lost when the game's restarted, such as high scores and saving progress such as in an rpg game.

P.S. sorry to re make another post if someone's already suggested this  tongue


http://scratch.mit.edu/static/projects/Flait7/2248016_sm.pnghttp://scratch.mit.edu/static/projects/Flait7/1827934_sm.png

Offline

 

#2 2010-07-14 07:42:19

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Cookies

This actually has been suggested a lot.

And I support  smile  Just so long as the cookies aren't thousands of gigabytes in size.

The only issue I can see is that it might be slightly difficult to make this easy for new users to understand - because Scratch is for everyone.

Offline

 

#3 2010-07-14 10:54:06

coka
Scratcher
Registered: 2007-11-03
Posts: 1000+

Re: Cookies

It's a very good idea, and my thoughts about this idea are pretty much the same as coolstuff's.  wink

Last edited by coka (2010-07-14 10:54:29)


http://i42.tinypic.com/2rot8c2.png

Offline

 

#4 2010-07-14 13:06:33

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Cookies

Flait7 wrote:

I think the programmers of scratch should add in the ability to use cookies to save information that would normally be lost when the game's restarted, such as high scores and saving progress such as in an rpg game.

P.S. sorry to re make another post if someone's already suggested this  tongue

You can! (if this is what you're talking about) Use lists and variables to remember the position of characters and data in the game when you press save, then when you press the green flag again, it will load the position and data back into the game! That way, if you are pretty far into it, you can press save and then press stop, when you press the green flag, your progress will be reloaded. I've even gotten this technique to save pen and then reload it using 5 lists.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#5 2010-07-14 13:24:35

Wolfie1996
Retired Community Moderator
Registered: 2009-07-08
Posts: 1000+

Re: Cookies

ScratchReallyROCKS wrote:

Flait7 wrote:

I think the programmers of scratch should add in the ability to use cookies to save information that would normally be lost when the game's restarted, such as high scores and saving progress such as in an rpg game.

P.S. sorry to re make another post if someone's already suggested this  tongue

You can! (if this is what you're talking about) Use lists and variables to remember the position of characters and data in the game when you press save, then when you press the green flag again, it will load the position and data back into the game! That way, if you are pretty far into it, you can press save and then press stop, when you press the green flag, your progress will be reloaded. I've even gotten this technique to save pen and then reload it using 5 lists.

I *think* they're talking about navigating away from a page, then back to it, with the data from lists and variables being memorised.

If that's the case - I support! It sounds like a cool feature, but, as coolstuff said, it might not be so great if it's a huge file.  smile  If it's a small file, I definately want this  big_smile


"...Jargon - the practice of never calling a spade a spade, when you might instead call it a manual earth-restructing implement..." - Bill Bryson, Mother Tongue

Offline

 

#6 2010-07-14 15:13:39

icecreamandcake
Scratcher
Registered: 2010-05-10
Posts: 500+

Re: Cookies

This would be a good idea! Let's hope they add this!


Lucario and Riolu ROCK!!!!!!!!!!!!!!!!!!!  smile
http://i34.tinypic.com/14vjp0l.png Baa.

Offline

 

#7 2010-07-14 16:12:55

wmays
Scratcher
Registered: 2008-05-10
Posts: 500+

Re: Cookies

Wolfie1996 wrote:

ScratchReallyROCKS wrote:

Flait7 wrote:

I think the programmers of scratch should add in the ability to use cookies to save information that would normally be lost when the game's restarted, such as high scores and saving progress such as in an rpg game.

P.S. sorry to re make another post if someone's already suggested this  tongue

You can! (if this is what you're talking about) Use lists and variables to remember the position of characters and data in the game when you press save, then when you press the green flag again, it will load the position and data back into the game! That way, if you are pretty far into it, you can press save and then press stop, when you press the green flag, your progress will be reloaded. I've even gotten this technique to save pen and then reload it using 5 lists.

I *think* they're talking about navigating away from a page, then back to it, with the data from lists and variables being memorised.

If that's the case - I support! It sounds like a cool feature, but, as coolstuff said, it might not be so great if it's a huge file.  smile  If it's a small file, I definately want this  big_smile

Maybe it could be done by saving individual variables and lists, like this: http://i32.tinypic.com/5uhh1v.jpg. You cloud also save all variables or all lists, like this:http://i30.tinypic.com/6f5pih.jpg . You could also detect whether there are cookies, like this: http://i26.tinypic.com/2yzbpf8.jpg.
So all you have to do is :1. save the name of the variable and the value, or 2. save the name of the list and the values separated by commas. So I think it would be an average of 1kb a variable and 15kb for large lists.


http://i42.tinypic.com/2z5vcz9.gif
http://phpscripthost.comoj.com/imagescripts/ipimg.php

Offline

 

Board footer