How do I load value with local storage

Get help using Construct 2

Post » Tue May 10, 2016 8:46 pm

Hi, please, I'm testing to load values using localStorage.
I do not get what I want.
I want to load the array and the value 20 is displayed but not loaded when I touch.
The value shown is 0.

How load the array?

Image

https://dl.dropboxusercontent.com/u/60803633/test9.capx

I read this:
https://www.scirra.com/tutorials/1461/how-to-use-the-localstorage-plugin

I am doing other mode but should work ... no?
B
29
S
12
G
21
Posts: 801
Reputation: 14,453

Post » Tue May 10, 2016 8:57 pm

Mirlas wrote:How load the array?


Image
B
66
S
24
G
7
Posts: 1,514
Reputation: 11,039

Post » Wed May 11, 2016 11:00 pm

korbaach wrote:
Mirlas wrote:How load the array?


Image


Thanks!, solved.
B
29
S
12
G
21
Posts: 801
Reputation: 14,453

Post » Thu May 12, 2016 5:51 am

Nice work all Good time
B
11
S
1
Posts: 28
Reputation: 1,963


Return to How do I....?

Who is online

Users browsing this forum: Blendi1223, kellehk, Yahoo [Bot] and 26 guests