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
31
S
13
G
21
Posts: 844
Reputation: 14,693

Post » Tue May 10, 2016 8:57 pm

Mirlas wrote:How load the array?


Image
B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072

Post » Wed May 11, 2016 11:00 pm

korbaach wrote:
Mirlas wrote:How load the array?


Image


Thanks!, solved.
B
31
S
13
G
21
Posts: 844
Reputation: 14,693

Post » Thu May 12, 2016 5:51 am

Nice work all Good time
B
11
S
1
Posts: 29
Reputation: 1,965


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests