Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Cloud data
- noahnut
-
7 posts
Cloud data
How do i make cloud multiplayer a feature in my games? My browser / operating system: Windows NT 10.0, Chrome 52.0.2743.116, Flash 22.0 (release 0)
- Jonathan50
-
1000+ posts
Cloud data
You'll need to use cloud variables to store data (like the positions of players) encoded as numbers.
Your browser and operating system won't make a difference (unless you want to use a backend written in a language other than Scratch).
Your browser and operating system won't make a difference (unless you want to use a backend written in a language other than Scratch).
- Jonathan50
-
1000+ posts
Cloud data
Do you understand normal variables in Scratch? Cloud variables are a special kind of variables that the Scratch website saves whenever they are changed. You make them by checking this box in the “New Variable” dialog that appears when you click “Make a Variable”: confused

They can currently only contain numbers though, so you can put text strings like “hello” in them. To store data other than numbers, you'll need to encode it, save it in the cloud variable, and then decode it when you want to access it.
- jokebookservice1
-
1000+ posts
Cloud data
If you are asking about the encoding, first have a think about it yourself. HOW?
I'll make the problem simpler for you, you only have nine letters for you to use:
a, b, c, d, e, f, g, h, i
And you need to encode any word using those letters into numbers, and be able to decode it as well. Once you solve this, simplified, problem, we'll move on and try to make it work for more letters

- MegaApuTurkUltra
-
1000+ posts
Cloud data
There are some cloud multiplayer engines that might be able to help you
- lbony014789
-
3 posts
Cloud data
I use all my jerney for cloud data saving and engines It is working well but how can you put theme is a cloud variable instead of a list? 

- jokebookservice1
-
1000+ posts
Cloud data
I think I was. But I'm not sure who you're talking to because you didn't quote anybody. I'd like to teach you programming, and for that I need to teach you to think by yourself. If you have You are asking ME!9 letters, how do you encode a text string out of those letters (have a go, and if you get stuck, feel free to ask

- lugga
-
500+ posts
Cloud data
Look, no offense, but SPEAK ENGLISH!
English (Technical)
I think I was. But I'm not sure who you're talking to because you didn't quote anybody. I'd like to teach you programming, and for that I need to teach you to think by yourself. If you have 9 letters, how do you encode a text string out of those letters (have a go, and if you get stuck, feel free to ask)?
Translation
English (Simplified)
I think I was. But I'm not sure who you're talking to because you didn't quote anybody. I'd like to teach you programming, and for that I need to teach you to think by yourself. If you have the 9 letters “a, b, c, d, e, f, g, h, i”, how do you turn these letters into numbers (Hint: a becomes 1) (have a go, and if you get stuck, feel free to ask)?
- jokebookservice1
-
1000+ posts
Cloud data
Doesn't stop it from being EnglishLook, no offense, but SPEAK ENGLISH!
English (Technical)
I think I was. But I'm not sure who you're talking to because you didn't quote anybody. I'd like to teach you programming, and for that I need to teach you to think by yourself. If you have 9 letters, how do you encode a text string out of those letters (have a go, and if you get stuck, feel free to ask)?
Translation
English (Simplified)
I think I was. But I'm not sure who you're talking to because you didn't quote anybody. I'd like to teach you programming, and for that I need to teach you to think by yourself. If you have the 9 letters “a, b, c, d, e, f, g, h, i”, how do you turn these letters into numbers (Hint: a becomes 1) (have a go, and if you get stuck, feel free to ask)?

Well, after reviewing it, I see the problem with how I phrased it, sorry @noahnut
- jokebookservice1
-
1000+ posts
Cloud data
What language was I speaking? Look, no offense, but SPEAK ENGLISH!
- Jonathan50
-
1000+ posts
Cloud data
Can you please say what it is you don't understand? Normal variables, cloud variables, or encoding? HOW?
- happyland440
-
1000+ posts
Cloud data
Cloud data is one of the most advanced parts of Scratch. I have been using Scratch for almost 5 years yet I haven't mastered it.
Basically, you want to make cloud variables to store every single person's X & Y coordinates. That's just a start. If you wanted to make a pvp arena, you'd have to be able to track everyone's lives. That's when you'd have to encode, as you can only have 10 cloud variables per game.
This Wiki article should help you get started. Also, experiment around and see what you can create.
Basically, you want to make cloud variables to store every single person's X & Y coordinates. That's just a start. If you wanted to make a pvp arena, you'd have to be able to track everyone's lives. That's when you'd have to encode, as you can only have 10 cloud variables per game.
This Wiki article should help you get started. Also, experiment around and see what you can create.
- SCAScratch1
-
14 posts
Cloud data
I use all my jerney for cloud data saving and engines It is working well but how can you put theme is a cloud variable instead of a list?use the set to block for varibles
- Jonathan50
-
1000+ posts
Cloud data
Can you please say what it is you don't understand? Normal variables, cloud variables, or encoding? HOW?
- Discussion Forums
- » Advanced Topics
-
» Cloud data