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

#1 2012-04-27 22:29:37

slayerrobe7
Scratcher
Registered: 2011-06-24
Posts: 500+

Cloud variables and list

since 2.0 is enitrely in the cloud why not have variable and list in the cloud.
cloud variables and list would update live and anyone viewing could participate.

here is how it would work.

under the stage in the sprite window a title box would lie titled cloud.

cloud is an object that can not be seen. all variables in cloud update live as do list. here is an example of how cloud variables could be used.

high scores-you have high score on a project you want it to update live.

you could use a script like this.

when I receive [highscore v]
if <(highscore) > (Cloud var <highscore>)>
set Cloud var [<highscore> v] to [highscore]


!!!When it comes to Scratch2.0 I am totally like freaking out!!!

Offline

 

#2 2012-04-27 22:33:49

SJRCS_011
Scratcher
Registered: 2011-02-07
Posts: 1000+

Re: Cloud variables and list

I think the cloud variables are planned already.
As for lists, you could simply concatenate the individual variables into an array, so we don't really need them.


http://i.imgur.com/vQqtH.png
Learning to Program in a Nutshell:  "You're missing a closing parentheses" - LS97

Offline

 

#3 2012-04-27 23:00:42

TorbyFork234
Scratcher
Registered: 2012-03-01
Posts: 1000+

Re: Cloud variables and list

If you have a question about how they will work I already started a whole topic about it here.

Offline

 

#4 2012-04-27 23:17:01

stevetheipad
Scratcher
Registered: 2011-08-06
Posts: 1000+

Re: Cloud variables and list

Cloud variables will be included in Scratch 2.0, but be called "persistent variables". And the Scratch Team is still considering a "username" sensing boolean, so you could have a high-score list in your project game that says the high score and the user who made the high-score.

As far as "cloud" lists, I'm not sure if this will be an additional feature in version 2.0, but I assume so.  smile


http://i.imgur.com/0x8ia.jpg
gone

Offline

 

#5 2012-04-28 14:44:56

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Cloud variables and list

stevetheipad wrote:

Cloud variables will be included in Scratch 2.0, but be called "persistent variables". And the Scratch Team is still considering a "username" sensing boolean, so you could have a high-score list in your project game that says the high score and the user who made the high-score.

As far as "cloud" lists, I'm not sure if this will be an additional feature in version 2.0, but I assume so.  smile

Nope, i think they'll be called "cloud variables/lists". More kid-friendly, don't you think?  wink

Also, this seems to be a duplicate topic, so let's use the older one.  smile

Offline

 

Board footer