Discuss Scratch

MyzebraS
Scratcher
79 posts

Coding and Decoding cloud variables

Ummm what does this all do?
deck26
Scratcher
1000+ posts

Coding and Decoding cloud variables

MyzebraS wrote:

Ummm what does this all do?
Cloud variables can only hold numbers. So this is how to convert text to numbers and back again so you can store things like usernames in cloud variables.
P444
Scratcher
500+ posts

Coding and Decoding cloud variables

Fixed a minor error on scripts!

Last edited by P444 (Sept. 1, 2016 13:01:13)

FresthoRY
Scratcher
12 posts

Coding and Decoding cloud variables

jokebookservice1 wrote:

SkullduggeryPleasant wrote:

Ummm, is there a limit to how many cloud variables there can be?
Sorta, Scratch prevents you from making a new one at 10, but there is a bug (that should rarely be used because is going against the Scratch Team's decision) where you can create multiple cloud variables at the same time, and thus avoiding the limit.
It is because Scratch records if a cloud variable is created,after the OK button is clicked, but prevents you from making a new one before you tick the Cloud Variable checkbox. This inconcistency allows you to create more than 10.
On a seperate note..
Why do you need the lowercase lettered costumes, surely a lowercase letter ill stay at costume null whether the costume letter+t exists? It seems like it is taking up 2x space needed? (correct me if wrong)
You can also “glitch in” cloud variables by getting a script with a cloud variable in your backpack, dragging it out onto your project, and double clicking on the script. I've heard the the cloud variables don't actually work and are just “fake”. I'm not sure if this is true though.
jokebookservice1
Scratcher
1000+ posts

Coding and Decoding cloud variables

FresthoRY wrote:

jokebookservice1 wrote:

SkullduggeryPleasant wrote:

Ummm, is there a limit to how many cloud variables there can be?
Sorta, Scratch prevents you from making a new one at 10, but there is a bug (that should rarely be used because is going against the Scratch Team's decision) where you can create multiple cloud variables at the same time, and thus avoiding the limit.
It is because Scratch records if a cloud variable is created,after the OK button is clicked, but prevents you from making a new one before you tick the Cloud Variable checkbox. This inconcistency allows you to create more than 10.
On a seperate note..
Why do you need the lowercase lettered costumes, surely a lowercase letter ill stay at costume null whether the costume letter+t exists? It seems like it is taking up 2x space needed? (correct me if wrong)
You can also “glitch in” cloud variables by getting a script with a cloud variable in your backpack, dragging it out onto your project, and double clicking on the script. I've heard the the cloud variables don't actually work and are just “fake”. I'm not sure if this is true though.
Yep, they are just like you creating a non cloud variable, but starting the name with the cloud emoji

Last edited by jokebookservice1 (Oct. 23, 2016 22:48:49)

hawken
Scratcher
1 post

Coding and Decoding cloud variables

I made a simple chatroom, with this

https://scratch.mit.edu/projects/147197794/

no can use it right now, im still making filters
fathallahbob
Scratcher
7 posts

Coding and Decoding cloud variables

I need help with recording the scores of the people who play my game. PLZ help,
dual_creator43
Scratcher
1000+ posts

Coding and Decoding cloud variables

cm8263 wrote:

SkullduggeryPleasant wrote:

Ummm, is there a limit to how many cloud variables there can be?

Yes, 10 per project.

And PLEASE check before you post, because you might just be Necro-Posting!
My project had a limit of 8 cloud variables!
fathallahbob
Scratcher
7 posts

Coding and Decoding cloud variables

can someone help me with cloud data
asivi
Scratcher
1000+ posts

Coding and Decoding cloud variables

The Scratch Wiki can help you

https://wiki.scratch.mit.edu/wiki/Cloud_Data
fathallahbob
Scratcher
7 posts

Coding and Decoding cloud variables

thanks XD
cheesyturnips
Scratcher
1 post

Coding and Decoding cloud variables

When I coded it all and ran it in turbo mode, it didn't display a lower case ‘'a’'. Did anyone else have this issue, or did I just screw up?

Last edited by cheesyturnips (March 25, 2018 16:01:47)

space_elephant
Scratcher
500+ posts

Coding and Decoding cloud variables

this also works for the case sensing:
create 27 costumes, costume #1 is “null”the others are all the capital letters
define Detect case of letter [character]
if <(length of (character)) > [1]> then
set [case v] to [error!] //indicates that more than one character was entered
stop [this script v]
end
switch costume to [null v] //it should be your very first costume
switch costume to (character) //if the character is lowercase, it will stay on "null"
if <(costume #)=[1]> then
set [case v] to [other] //costume did not change so is is not capital
else
set [case v] to [upper] //defines that the letter is uppercase
end
evan11r
Scratcher
100+ posts

Coding and Decoding cloud variables

P444 wrote:

sonicfan12p wrote:

This is pretty close to what I use, with a couple of minor changes. (plus mine is case sensitive, if you're interested in adding that feature) If there's a more efficient method of doing it than what you said, I've never seen it.
Thanks, added it
um… i dont remember a variable saying “i”…
RufusTV
Scratcher
1 post

Coding and Decoding cloud variables

Can I have help making a High Score cloud verbal for my game? Here's the link https://scratch.mit.edu/projects/383470556/ .


Thank you!
deck26
Scratcher
1000+ posts

Coding and Decoding cloud variables

RufusTV wrote:

Can I have help making a High Score cloud verbal for my game? Here's the link https://scratch.mit.edu/projects/383470556/ .


Thank you!
Please create your own new topic rather than necroposting.
AdwitaPrabhu
Scratcher
41 posts

Coding and Decoding cloud variables

what is oc
AdwitaPrabhu
Scratcher
41 posts

Coding and Decoding cloud variables

when green flag clicked
ask [why do you want this] and wait
jettypumpkin07
Scratcher
1000+ posts

Coding and Decoding cloud variables

AdwitaPrabhu wrote:

when green flag clicked
ask [why do you want this] and wait
when asked [why do you want this] :: events hat
if <(op [year v] :: sensing) < [2020]> then
ask [Do you know what necroposting is?] and wait
if <(answer) = [yes]> then
say [You realize you just did it, right?]
else
if <(answer) = [no]> then
think [Just make a new post next time...]
end
end
end
say [Sorry for blockspamming.]

Last edited by jettypumpkin07 (June 22, 2020 07:36:06)

catgamer7
Scratcher
20 posts

Coding and Decoding cloud variables

I tried it and mine puts a 34 instead of a 08 in the
(cd)
variable.

Last edited by catgamer7 (Feb. 18, 2021 01:09:34)

Powered by DjangoBB