How do I save game level using webstorage in android

Get help using Construct 2

Post » Sun Aug 02, 2015 5:03 am

hi everyone, i have a problem to save my game level in android.
how do i make save game. if I close the game, the level of which I have been through will remain open.

PS: I've made "unlocked level" into an array.

in menu level
Image

in game
Image

thank you.
B
9
S
2
G
1
Posts: 28
Reputation: 671

Post » Mon Aug 03, 2015 9:10 am

use the localstorage object https://www.scirra.com/manual/188/local-storage
also read about save-load states
Image
B
28
S
11
G
2
Posts: 139
Reputation: 3,299


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 49 guests