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: 280
Reputation: 2,522

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
B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 4 guests