9 years ago by dungeonmaster
I made an in-game level editor, think of it as a paint program.
Basically I have a 2D array where I fill in with different values.
How can I save this to a place in my hdd as a JSON ? I can ofcourse save and load it using localStorage but I couldn't find where this localstorage of the browser is. Also I want to use it as a further game mechanic, so it should be fairly easy.
Any ideas?
Basically I have a 2D array where I fill in with different values.
How can I save this to a place in my hdd as a JSON ? I can ofcourse save and load it using localStorage but I couldn't find where this localstorage of the browser is. Also I want to use it as a further game mechanic, so it should be fairly easy.
Any ideas?