Hi Friends i dont know how to use the local storage
I have a game it have a map with 8 scenes
i want that the play for example completed 3 scenes
and exit the game
and the next time start the game the map begin on scene 3
Hi —
I assume every scene is a separate layout in your game. Every time player starts a scene you should save the scene name in the local storage. Then once you turn on the game again you can load layout by name which you can find under "System" functions.
Regarding using local storage itself it is very easy and for your needs it will be only setting and reading the value which you can do with "Set item" and "Get item".
Definitely the first step you should do is to read Local Storage manual.
Good luck!
Develop games in your browser. Powerful, performant & highly capable.
Thanks friend
but i dont get it