Discuss Scratch

TheBaconFactory
Scratcher
31 posts

Cloud Variables

I am having trouble with cloud variables. i am trying to use cloud variables for player specifics but it just keeps changing the global variables. anyone have a fix for this?
Lasted10
Scratcher
100+ posts

Cloud Variables

So, first, I need to ask a few questions. What do you want the code to do? Do you have a project I could look at and remix, or do you have anything I need to know about your project?
TheBaconFactory
Scratcher
31 posts

Cloud Variables

The game is called “The Cake Game”. I want the code to have each individual player have their own set of variables (points, points per seconds, and such.) i am sharing it to my profile
Lasted10
Scratcher
100+ posts

Cloud Variables

So, do you want people to be able to have their own money, not cloud money?
cs2925723
Scratcher
100+ posts

Cloud Variables

TheBaconFactory wrote:

The game is called “The Cake Game”. I want the code to have each individual player have their own set of variables (points, points per seconds, and such.) i am sharing it to my profile
You can only have ten cloud variables per project, so you might only be able to have two players, if all of the specifics of a player need to be known on other computers.
Pechu317
Scratcher
100+ posts

Cloud Variables

well just remember that you can only have 10 cloud variables with a limit of 256 numerical only characters. so you will need to find a way to encode text to numbers, and decode those numbers to text. this means there will be a limit to how many players' data the game can store. maybe instead of cloud variables you could have the game output a save code that players could load their games with?
Lasted10
Scratcher
100+ posts

Cloud Variables

Sorry, I don't think I can help. I don't have that much experience with multiplayer code.
cs4157205
Scratcher
100+ posts

Cloud Variables

hiroshish
Scratcher
21 posts

Cloud Variables

A cloud variable is a variable that is stored in the cloud. Letters have to be converted to numbers when making moderated chats (also add a bad word detector) They can also be used for highscores, multiplayer and much more.
Have fun!
deck26
Scratcher
1000+ posts

Cloud Variables

hiroshish wrote:

A cloud variable is a variable that is stored in the cloud. Letters have to be converted to numbers when making moderated chats (also add a bad word detector) They can also be used for highscores, multiplayer and much more.
Have fun!
Free chats are not allowed and any method of detecting bad words rather than filtering for good ones was always banned. Chat projects now must use pre-defined lists of things can be said.

If you want players to have data saved on a per-user basis using the cloud you'll have to encode usernames so you can distinguish between different data values. A save code may be easier.

Powered by DjangoBB