— I'll try to do smth i do close to never - share my code.
Oh, yes! Thanks! :))
Player can either load from a slot 1,2,3 or start a new game in one of them.
Function call "startnewgame" does whatever you game does at normal start.
At normal start my game should have no save... and how do I do that?
Do I reset all values in the LocalStorage? Or do I create a new and empty slot?
You can do it without localstorage, but it will be a blind pick. I use local storage to save key progress variables (e.g.: playername, hp, money) like hp1, hp2, hp3. Load LS at game start to variables/dictionary/array and use it to text objects at corresponding save slots to mark them.
So I should save everything that must be saved, manually, in the LocalStorage??