How do I to save/load array in the hard disk?
I need the file in my project, in a folder (my proyect)\mydata\array Players
(my proyect)\mydata\array Countries
(my proyect)\mydata\array Cities
and load and save in middle of the execution.
Develop games in your browser. Powerful, performant & highly capable.
Save the JSON to WebStorage. In node-webkit you can alternatively use the node-webkit plugin to write a file to disk, but WebStorage still works in node-webkit as well so you may as well use that.
Thanks for the reply,
(my proyect) do you have a sent to get it?
I can get it reading in my PC, but i want to get automaticaly.