Saving..?

Get help using Construct 2

Post » Thu Jan 03, 2013 1:26 am

I'm using a global variable to detect what level the user is on. When then close the game and re open it... will the variable still be the same value? Or is there a way to save?
B
6
S
1
Posts: 28
Reputation: 856

Post » Thu Jan 03, 2013 1:46 am

An example I made for someone else should help you..

https://dl.dropbox.com/u/666574/webstorage%20jump%20to%20level.capx
B
15
S
5
G
7
Posts: 877
Reputation: 5,650

Post » Thu Jan 03, 2013 1:46 am

Use webstorage ! Check out the manual ... And no it won't save the variable automatically ...
B
35
S
16
G
16
Posts: 2,222
Reputation: 16,589

Post » Thu Jan 03, 2013 2:48 am

Thank you both! Will web storage saving work on mobile devices as well?
B
6
S
1
Posts: 28
Reputation: 856

Post » Thu Jan 03, 2013 6:18 pm

Can't see why not. Haven't messed with mobile devices so can't answer 100%, but I'm 99% sure ;p
B
15
S
5
G
7
Posts: 877
Reputation: 5,650


Return to How do I....?

Who is online

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