How make 3 Savegames which you can select in the Menu. I use Checkpoints that create a file called "mysave". So how make that the game later in other layouts know which savefile i have select in Menu Layout ?
Develop games in your browser. Powerful, performant & highly capable.
Store the name of the save in a global variable and use it to keep track of which one you are using.
Stay Globale variables in other Layouts? How do you mean that?
On the Save Select layout you would have three keys saved using LocalWebStorage. Probably saveOne, saveTwo, saveThree. (These can be anything)
OnStartOfLayout > Check for these Keys. If they exist, set your events accordingly.