How do I stop Webstorage disappearing on App Close

Get help using Construct 2

Post » Tue Oct 14, 2014 1:32 am

As Per title.

I have a little game that when the app is closed the webstorage (top10) appears to vanish, this happens not only browser based but also ports to Windows 8.1 and Android.

Is there a work around for this OR a different solution, perhaps a plugin?
B
5
S
1
Posts: 6
Reputation: 389

Post » Tue Oct 14, 2014 2:27 am

It sounds like you're using session storage, rather than local storage.
Learning other engines, but C2 still rocks. Image Image Image Image
B
80
S
22
G
96
Posts: 2,461
Reputation: 58,314

Post » Tue Oct 14, 2014 2:59 am

Definitely using Local Storage and not Session, I have checked and double checked.
B
5
S
1
Posts: 6
Reputation: 389

Post » Tue Oct 14, 2014 4:33 am

Found the problem, wasnt actually with webstorage. Was with the array reading the contents, was grabbing one value and repeating :)
B
5
S
1
Posts: 6
Reputation: 389


Return to How do I....?

Who is online

Users browsing this forum: urkokan and 9 guests