Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Cloud data
- Meloetta2
- Scratcher
26 posts
Cloud data
it is an internet thing.
like if someone gets a high score its recorded in a variable.
when green flag clicked
forever
if <(score) > (cloud high score)> then
set [cloud high score v] to (score)
end
end
like if someone gets a high score its recorded in a variable.
- AtomicBawm3
- Scratcher
29 posts
Cloud data
Cloud Data is data that will be saved on the Scratch Server with your project. In other words, normal variables will reset every time you start your project or refresh the page, but cloud variables can be maintained because they're actually saved by Scratch. You want to be careful how you use them since it is still not a perfect system. It takes time, memory, and energy for your computer to send data to the Scratch servers so you won't always be in constant communication. Most people who use a cloud variable use it to hold a high score for their game so that people can't lie in the comments and so they don't have to keep manually updating it. just wondering what is cloud data and how do I use it?
For the most part, cloud variables work just like normal variables. One main difference is that they are only allowed to be numbers and cannot be used to store massive amounts of data since space is precious and there are a lot of Scratchers! Other than that, you can set, change, show, hide, or reference cloud variables just the same as normal ones.
- TheSupremeOverLord
- Scratcher
99 posts
Cloud data
THE GAME (you just lost)
Chrome 23.0.1271.101 on iMac running Mac OSX Mountain Lion 10.8.2 with Flash Player 11.4.402.287
Buy it, use it, break it, fix it, Trash it, change it, mail – upgrade it, Charge it, point it, zoom it, press it, Snap it, work it, quick – erase it, Write it, cut it, paste it, save it, Load it, check it, quick – rewrite it, Plug it, play it, burn it, rip it, Drag and drop it, zip – unzip it, Lock it, fill it, call it, find it, View it, code it, jam – unlock it, Surf it, scroll it, pause it, click it, Cross it, crack it, switch – update it, Name it, rate it, tune it, print it, Scan it, send it, fax – rename it, Touch it, bring it, pay it, watch it.
Technologic.
; Preserve the semi-colons! ;
- boomba1006
- Scratcher
48 posts
Cloud data
cloud vote two sprites
when this sprite clicked
set [ Cloud Vote1] to [Cloud Vote((Cloud Vote1) + (1)
same with other sprite but Cloud Vote2
Happy Holidays:cool:
Last edited by boomba1006 (Dec. 29, 2013 01:11:10)
- Discussion Forums
- » Help with Scripts
- » Cloud data