Hey man,
where exactly do you want to save those flags to at the start of the game?
To global or local variables?
And how are those flags stored in general? Are they stored via the LocalStorage object? Or in a variable?
Hey, sorry for the late response.
I'm using global variables for the for the save flags and save data (for example):
HasSaveData_Slot1 (Bool, "false" by default)
CurrentLives_Slot1 (Int)
CurrentWorld_Slot1 (Int)
When the player saves the game to slot 1 using the build-in save feature, HasSaveData_Slot1 is set to true and sets CurrentLives_Slot1 and CurrentWorld_Slot1 accordingly.
When the player goes to the continue screen, if slot1 is highlighted, if HasSaveData_Slot1 is true, then it displays the values of CurrentLives_Slot1 and CurrentWorld_Slot1; else it shows there is no save data.
I just want to load the last values for HasSaveData_Slot1,CurrentLives_Slot1 and CurrentWorld_Slot1 when the game starts up. So, could I achieve that through local storage?