Silver explained you one part
But i see two others things when it comes to autosave
1 - As for performance
Frequent not frequent
Depends how much you read/write
I found that array with 2 values to check (X and Y coordinates)
Starts to lag for me around 50k JUST by checking them in game (not save load but condition check if X = child and Y = child var)
BUT that is in conjunction with some behavior that picks all objects each time
Basically this autotilling behavior
It connects adjacent tiles depending on from which side other tiles are to each of them
Where as you see you have around 200-300 on screen at a time
If add padding to it so i have around 1k tiles on scene while rest is in array
Then this number drops from 50k to around 30k
And that is when there is NO game there
No enemies no timers no timers no nothing
How it will drop if add these?
Hold space to spam tiles
And for example walk down
https://games.gdevelop-app.com/game-1dd460b5-84fb-4555-813a-d98e59a75b28/index.html
Now to illustrate issue i gonna enable minimap
Which is just shape painter and checking distance between player and tiles
Look how much tiles you can spawn now before getting fps lag
BTW if fps drops below 60 then fps counter turns red
https://games.gdevelop-app.com/game-f6557e13-a730-472c-8b88-313a7ddf917f/index.html
At around 40k tiles it starts to flicker for me even when standing still
Here i added padding of 64 so 2x size of my tiles since they are 16x16 in size
So you can’t see them create/delete on screen and it happens off screen
And my limit is around 30k tiles
https://games.gdevelop-app.com/game-62c74bdb-c176-4d51-94cb-26e95858cf6e/index.html
Imagine now i enable minimap and i add some game logic
You think i would get away with 10k tiles?
Cause i doubt that
But this is just my case scenario
There are various other cases where i would get better performance/numbers
For example right now all i cover EACH square of my map with tiles
What if grass tiles would not exist and be just green background?
How many tiles i would eliminate allowing me to have larger map without lag?
Well i still don’t have grass tiles but imagine if my world would be built from tiles like each square being separate tile
Even with grass trick numbers would be the same but map could be larger without lag
Since there would be less tiles on map
Other thing is my autotilling behavior which does lag like hell
If i could create chunk system this number would go up even further
Cause instead of checking if in each child X and Y match some cords
I would group whole chinks of map (areas) into child of child
Think of it as shoving in songs of artist to folders with their names
And now instead of searching for ONE song trough 10000 mp3 files
You would search 1st name of artist trough 200 folders
That is one aspect of why not autosave spam
Other is
A - autosave often defeat purpose of saving
You should decide when to save or if to save
Not game
Where in some games you only save what is unlocked
B - How many games you can think of that autosave would be essential?
Like seriously in something like dark souls i perfectly understand it
In something like GTA or Street Fighter
Kinda sorta soft autosave after mission/round/match
I get but not like each few secs
C - LAZYNESS
How many games you made?
Well don’t answer
But in how many you made or attempted to make
I can change controls?
How many have gamepad support?
How many have digital clock showing time?
How many have separate option to adjust game sound menu sound and music?
And we can go on and on
And lastly
D - When you have 2 save system in game
YOU as developer need to be very careful how you gonna manage them
NOT to let player mess up save his save with autosave
NOT to make it easy to overwrite older save with newer one from new autosave
Additional menu for allowing player to choose between autosave and manual save
I have few more ideas of why not to constantly auto save but i think i made enough of wall of text
And by now you should have general idea