Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Saving data for a specific user to cloud?
- Pavan2007
- Scratcher
58 posts
Saving data for a specific user to cloud?
Hey there! I was just curious on this particular question. I have not tried to code it yet, but I am wondering if it is possible to do so.
Let's say I have a variable called ‘Money’.
Money has a value of 100.
A normal saving system would basically encode this value 100 to the value 248921088 and give it to the user. Then if the user wants to get the data back, all they have to do is input this code and it will set Money to 100.
What I want to do is put the value ‘Money’ into the cloud, and next time the player plays the game, it retrieves the data from the cloud and does not ask the player for a save code.
Is this possible in Scratch? Will it ever be possible in Scratch?
I am very curious to see if it can happen, and if so, how it will be done. Thanks a lot if you help!
Let's say I have a variable called ‘Money’.
Money has a value of 100.
A normal saving system would basically encode this value 100 to the value 248921088 and give it to the user. Then if the user wants to get the data back, all they have to do is input this code and it will set Money to 100.
What I want to do is put the value ‘Money’ into the cloud, and next time the player plays the game, it retrieves the data from the cloud and does not ask the player for a save code.
Is this possible in Scratch? Will it ever be possible in Scratch?
I am very curious to see if it can happen, and if so, how it will be done. Thanks a lot if you help!
Latest Game Released!
https://scratch.mit.edu/projects/477831744/
Cyber Quest 2 | A Platformer
“Quality Programs and Games”
@Pavan2007
Last Updated: 25/3/21
- BatteRaquette58
- Scratcher
100+ posts
Saving data for a specific user to cloud?
You can try using a cloud list from TimMcCool to store the data. Then you transform the username into numbers and put your code and transform your username into an element of the cloud list. But that only works for 20 people per list.
when I receive [user looking at my signature v]Art for pride month:
intro
define intro
Heya!
I'm BatteRaquette58's siggy (insert sherlock icon)! I am here to help you with scripts! So if you have questions, ask them!
define . () () () () () () ()()()()
. (.)(.)(.)(.)(.)(.)(.)(.)(.)(.):: list
. (.:: events)(.:: events)(.:: events)(.:: events)(.:: events)(.:: events)(.:: events)(.:: events)(.:: events)(.:: events):: events
. (.:: operators)(.:: operators)(.:: operators)(.:: operators)(.:: operators)(.:: operators)(.:: operators)(.:: operators)(.:: operators)(.:: operators):: operators
. (.:: variables)(.:: variables)(.:: variables)(.:: variables)(.:: variables)(.:: variables)(.:: variables)(.:: variables)(.:: variables)(.:: variables):: variables
.(.:: motion)(.:: motion)(.:: motion)(.:: motion)(.:: motion)(.:: motion)(.:: motion)(.:: motion)(.:: motion)(.:: motion):: motion
.()()()()()()()()()()
pride flag:: cap
- Discussion Forums
- » Help with Scripts
- » Saving data for a specific user to cloud?