Discuss Scratch

Depresedbird
Scratcher
88 posts

Auto save system

how do i make an autosave system that saves your progress automatically If you know how to do this can you please put the script in your message it would really help I have been struggling so thanks!





say [thank you:D]
l_heart_Roblox
Scratcher
100+ posts

Auto save system

If it's for a clicker or something like that,

when this sprite clicked
if <(your clicks) > (☁ score)> then
set [ ☁ score] to (your clicks)
end

Last edited by l_heart_Roblox (Jan. 6, 2025 02:21:55)

Depresedbird
Scratcher
88 posts

Auto save system

l_heart_Roblox wrote:

If it's for a clicker or something like that,

when this sprite clicked
if <(your clicks) > (☁ score)> then
set [ ☁ score] to (your clicks)
end

I'm sorry, but I'm not making a clicker game, and that would not work because it would share everybody's data.
supa-panda
Scratcher
100+ posts

Auto save system

Well we need more information about what game you ARE creating.
michmichdu13
Scratcher
1 post

Auto save system

Hi Depresedbird, _krokobil has remixed a local storage concept made by TimMcCool (even if the user reloads the page the data remains). The only drawback is that they disappear after about 10 minutes (depending on the computer).

Maybe you could use this concept to store backups?

Last edited by michmichdu13 (Jan. 6, 2025 23:24:50)

Depresedbird
Scratcher
88 posts

Auto save system

michmichdu13 wrote:

Hi Depresedbird, _krokobil has remixed a local storage concept made by TimMcCool (even if the user reloads the page the data remains). The only drawback is that they disappear after about 10 minutes (depending on the computer).

Maybe you could use this concept to store backups?
does not work
minniesworld
Scratcher
500+ posts

Auto save system

Autosaves are hard to make. to be able to save every players saves you would have to use python and a library like scratchattach. A much easier approach would to be to use save codes
TheNoisyNoisy
Scratcher
100+ posts

Auto save system

Again, scratchattach is the most effective solution
Turbo_yeeter
Scratcher
500+ posts

Auto save system

I have a solution, which is to make a save code that pops up on a timer, although that may interfere with gameplay. But I suggest you listen to the others and use scratchattatch.
HELPMEIMSTUCKOUTSIDE
Scratcher
4 posts

Auto save system

Please, don't comment on this any more this is my new account.

Powered by DjangoBB