For example i have an array with:
x0 x1 x2
1 2 3
and i want to save it to the WebStorage. So I'm gonna use:
For each element -> WebStorage: set value at key "test" to array.curx & "_".
I will get "1_2_3_"
And how to get this values back?
Develop games in your browser. Powerful, performant & highly capable.
Maybe this thread will help you: http://www.scirra.com/forum/saving-and-loading-an-array-to-webstorage-capx_topic50970_page1.html
http://www.scirra.com/forum/copy-an-entire-array_topic53153_post332888.html
Big thanks!