Is there a way to have my app/game save a file to desktop? Like with a windows file picker?
I'm making a level generator and it exports all the necessary data to a text box. Now I would like to have a "save as" feature that would just download/save its content without sending it to an external script with ajax etc. Possible?
Develop games in your browser. Powerful, performant & highly capable.
You have to use the File Chooser feature and ask the user to save it. Anything else is a security violation.
You need to use NW.js in order to be able to specify a storage location other than webstorage - this of course won't work for HTML5 or mobile device compiles.
If you need help let me know, I've worked with NW.js a bit and can probably make an example.