Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I can't figure out this one.
I have a series numbers in array. is anyway i can save them into local storage? is local storage only can store a string or a number? How is it possible to store array data?
save between games?
https://www.scirra.com/tutorials/526/ho ... -savegames
You can save a single value or the entire array as JSON.
Develop games in your browser. Powerful, performant & highly capable.
— Thanks for the solution.
Now i have no idea how to load the entire data back to the array.
How do to that?
thanks
You should take a few minutes to read the Array and LocalStorage manual and you will know the answer. Basically you do exactly the opposite, which is loading an array from JSON.
—
Thanks for pointing it out. I am still learning construct logic and trying to remember everything. I should have check the array earlier. But i was keep browsing local storage expressions instead. You save a lot of my time. Now the problem is solved. Thank you very much!! i really appreciate your help !