How do I use local storage

Get help using Construct 2

Post » Mon Aug 31, 2015 5:32 pm

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
Posts: 21
Reputation: 311

Post » Mon Aug 31, 2015 7:24 pm

Hi @minotauro31.

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! :)
Posts: 1,076
Reputation: 49,681

Post » Tue Sep 01, 2015 2:42 pm

Thanks friend

but i dont get it :(
Posts: 21
Reputation: 311

Return to How do I....?

Who is online

Users browsing this forum: Google [Bot], RetroInsight and 3 guests