How do I save array values using LOCALSTORAGE?

Get help using Construct 2

Post » Wed Jul 01, 2015 7:09 pm

Hi guys, I need to save the values of an array using LOCALSTORAGE.. how can I do this?

Thank you so much!
B
5
S
1
Posts: 60
Reputation: 495

Post » Wed Jul 01, 2015 8:25 pm

Check this tutorial on local storage: https://www.scirra.com/tutorials/1461/h ... age-plugin
B
17
S
7
Posts: 277
Reputation: 2,514

Post » Wed Jul 01, 2015 8:55 pm

I already check this tutorial.. but I don't know how to apply this to an array.. I only know using global variables.
B
5
S
1
Posts: 60
Reputation: 495

Post » Wed Jul 01, 2015 10:48 pm

Set item "Array" to Array.AsJSON
Image
B
64
S
23
G
7
Posts: 1,481
Reputation: 10,823


Return to How do I....?

Who is online

Users browsing this forum: plinkie and 15 guests