Discuss Scratch

MyzebraS
Scratcher
79 posts

Coding and Decoding cloud variables

Ummm what does this all do?

oh
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)


Hey there random person scrolling through one of my posts! Hope you have a nice day (ノ◕ヮ◕)ノ*:・゚✧


Reserved for advertisements >:3

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.

What did the person say to the dog?

“”
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!

I'm dual_creator43, and I hope I've done well with anything. (Projects, forum replies, etc.) My Scratch habits include:
  • checking my inbox
  • being active in the forums
  • working on my projects (sometimes)
Check out more about me by clicking here or here. Happy Scratching!

My most famous quote: “Nothing good ever comes from posting near the end of a page.”
This is probably the best post anyone has ever made for me.
Don't you hate it when your signature isn't big enough to show everything you put in it?

But I guess it doesn't matter since you're (probably) using Shift+↓.
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

red link
[url=redlink.com][color=red][u]red link[/u][/color][/url]
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”…

dont click this

(a new scratcher got almost as many followers as i have in 3 days )
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)


-jettypumpkin07 Profile ~ GitHub ~ Wiki Edits ~ Stats ~ Posts
I haven't really been active much since 2021. I now mostly look at / help with other people's projects, answer questions on the forums and work on stuff in other programming languages like JavaScript. Scratch is still awesome and I don't think I'll be leaving it any time soon. <3


Check out ocular, a Scratch forum search tool by jeffalo that helps find lost posts, or the Hidden Blocks TurboWarp extension I helped create that has a bunch of useful hacked blocks ready to add to your Scratch projects. (PR for details, see the Hidden Blocks category to the left of the editor.)


Super Mario World Maker 3.0 Update coming soon ~ Suggest what you want added!

The state of my life right now (I'm in Grade 12 next year):

Bonus image for Extension users and Inspect Element bois:

I'm the guy who made the ‘Multiple rows in backpack’ addon btw, you should try it!
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)


(highlight this text and press shift + down if you can't see my signature)

define my signature
my block //it's all in how you look at it
show variable [my variable v] //this too
show variable [☁ your variable v] //now it's your turn!

when I receive [new message v]
get [exited v] :: sensing
if <[poinless messages v] contains (message :: sensing) ?> then
get [dissapointed v] :: sensing
wait (1) secs
get [triggered v] :: sensing
end

Powered by DjangoBB