need help with cloud data saving
id: 753264
category: Help with Scripts
posts: 3
koolkat_15
loading
hello
the game i'm working on has a settings menu within it, and i want to know how to save players' settings to the cloud instead of a save code
i have a cloud encoder and decoder working, but i'm not sure where to go from there
the game i'm working on has a settings menu within it, and i want to know how to save players' settings to the cloud instead of a save code
i have a cloud encoder and decoder working, but i'm not sure where to go from there
SpyCoderX
loading
So, cloud variables have a limit on their size (256 characters) and count (10 cloud variables), meaning they might not be the best for storing per-user settings.
But in case you want to use cloud variables regardless:
1. When a user closes the settings menu, you should save their settings.
2. When a user opens the project, load the settings.
Now, to save and load:
To save, we either add the user’s settings or update them.
Add - just find a cloud variable with space and save the user’s name and settings.
Update - find where the user’s settings are stored in the cloud variable and set the cloud variable to the cloud variable with the digits that are the user’s settings replaced with the current settings.
To load: just find the user’s settings in the cloud variables.
If you want more info / details just ask.
But in case you want to use cloud variables regardless:
1. When a user closes the settings menu, you should save their settings.
2. When a user opens the project, load the settings.
Now, to save and load:
To save, we either add the user’s settings or update them.
Add - just find a cloud variable with space and save the user’s name and settings.
Update - find where the user’s settings are stored in the cloud variable and set the cloud variable to the cloud variable with the digits that are the user’s settings replaced with the current settings.
To load: just find the user’s settings in the cloud variables.
If you want more info / details just ask.
koolkat_15
loading
i see. thank you for helping, i might just go on with a save code since i don't think that limit would be enough So, cloud variables have a limit on their size (256 characters) and count (10 cloud variables), meaning they might not be the best for storing per-user settings.
But in case you want to use cloud variables regardless:
1. When a user closes the settings menu, you should save their settings.
2. When a user opens the project, load the settings.
Now, to save and load:
To save, we either add the user’s settings or update them.
Add - just find a cloud variable with space and save the user’s name and settings.
Update - find where the user’s settings are stored in the cloud variable and set the cloud variable to the cloud variable with the digits that are the user’s settings replaced with the current settings.
To load: just find the user’s settings in the cloud variables.
If you want more info / details just ask.