It would be great if there was a way to save all the game variables with just a single command - and load them at the game start/main menu... without returning to the game state/level. Rather then having a bajillion Local Storage saves and loads.
Pssst
You can put a Dictionary into Local Storage.
Develop games in your browser. Powerful, performant & highly capable.
And dictionaries inside a dictionary!
Yeah. You can even put dictionaries in containers with sprites, then do a for each sprite, and save those dictionaries into one big dictionary.
Or just use the Json object.
That's what the Game Save Slot feature does. Pretty much.