Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Cloud Variables in Scratch 3.0
- sqrt-seven
-
Scratcher
2 posts
Cloud Variables in Scratch 3.0
How do you make cloud variables in Scratch 3.0?
- Anonymous1212144
-
Scratcher
100+ posts
Cloud Variables in Scratch 3.0
If you are scratcher, create a variable, and on the bottom of the “Create a Variable” box, it should give you the option to make it a cloud variable. Otherwise, you cannot create one.
Last edited by Anonymous1212144 (Feb. 17, 2019 23:33:29)
- drchubbington
-
Scratcher
100+ posts
Cloud Variables in Scratch 3.0
If you are scratcher, create a variable, and on the bottom of the “Create a Variable” box, it should give you the option to make it a cloud variable. Otherwise, you cannot create one.You need to be updated to “scratcher” status by the scratch team. To do this, share some projects, love a couple of other peoples' projects, and keep doing scratch! When you reach scratcher status, you will be able to use them in both your and other peoples' projects.
- DB4127
-
Scratcher
1 post
Cloud Variables in Scratch 3.0
how do i make a variable that shows the top score which is the highest variable that has showed up in a game
- deck26
-
Scratcher
1000+ posts
Cloud Variables in Scratch 3.0
how do i make a variable that shows the top score which is the highest variable that has showed up in a gamePlease create your own new topic next time.
You just need to create a cloud variable and set it to 0 (once only). Then when the game finishes check if score is greater than the cloud variable and set the cloud variable to the new high score if so.
Don't try to set it while the game is in progress if this will mean the cloud variable being updated more than once a second as the server will reject the connection.
Last edited by deck26 (March 29, 2019 18:41:56)
- Xboy2009
-
Scratcher
13 posts
Cloud Variables in Scratch 3.0
Now I know how to create a cloud variable, now how do I use them?
- imfh
-
Scratcher
1000+ posts
Cloud Variables in Scratch 3.0
Now I know how to create a cloud variable, now how do I use them?Welcome to the Scratch Forums! To keep things organized, it is preferred that you create your own topic. Using someone else's thread is often called “thread hijacking.”
One way you can use cloud variables is to hold a global highscore:
when I receive [Game Over v]
if <(Score) > (☁ Highscore)> then
set [☁ Highscore v] to (Score)
end
...
- zigzag124
-
Scratcher
31 posts
Cloud Variables in Scratch 3.0
how do i make a variable that shows the top score which is the highest variable that has showed up in a gameThis:
when green flag clicked
forever
if <[☁ score] > (foo)> then
set [☁ scrore] to [foo]
end
end
Last edited by zigzag124 (May 29, 2019 23:04:19)
- Nambaseking01
-
Scratcher
1000+ posts
Cloud Variables in Scratch 3.0
Please close the thread so we can prevent spams and necroposts. Thank you! 

- ResExsention
-
New Scratcher
1000+ posts
Cloud Variables in Scratch 3.0
How to add cloud variables function?
You need to become a Scratcher first, I can see you're still New to Scratch.
Also, please don't necropost. This topic is a month old and resolved.
- Discussion Forums
- » Help with Scripts
-
» Cloud Variables in Scratch 3.0