I am attempting to save a a text file using a save dialog.
How do i tell the save dialog what i am attempting to save?
By this i mean how do i tell the game what it is meant to be saving?
Thanks.
Develop games in your browser. Powerful, performant & highly capable.
Use JSON, like:
{ "inventory" : { "sword" : { "damage" : 1 }, "cloak" : {"armor" : 1}, "armor" : {"armor" 4 } } } [/code:1drbr2gr]