Webstorage problems

Get help using Construct 2

Post » Tue Mar 25, 2014 7:30 am

Hello,

I have some problems with my webstorage.
I use one layout for my settings and other for game.
Problem is that when i set in settings webstorage key from 0 to 1 and i switch back to game layout that key still shows value of 0.
Does webstorrage works only per layout or am i missing something?

can't find any good capx examples... :(
B
26
S
11
G
2
Posts: 669
Reputation: 5,038

Post » Tue Mar 25, 2014 7:42 am

Maybe you show us your example cause Webstorage is not connected with layouts.
B
14
S
3
G
1
Posts: 255
Reputation: 2,027

Post » Tue Mar 25, 2014 8:28 am

i think i'w find out my problem

in webstorage theres a:
"key" and a "value"
i was using quotes on one layout and not on the other...
B
26
S
11
G
2
Posts: 669
Reputation: 5,038

Post » Tue Mar 25, 2014 8:58 am

OK... SOLVED!
B
26
S
11
G
2
Posts: 669
Reputation: 5,038


Return to How do I....?

Who is online

Users browsing this forum: Baidu [Spider], Kin, mickclarke, TRMG and 42 guests