- May 17, 2021
- 41
- 52
Most of the HTML-based games have a save game function that allows the user to select a file name and save to disk. That is somewhat outside of normal HTML/CSS/JS behavior.
I've looked at the JavaScript in some of them, but it's obfuscated and I can't tell which bits are necessary and which ones are part of a framework I don't otherwise need or want.
My goal: add comprehensive (larger than 2K character) files saves to disk, running from the browser, and not relying on remote calls to other code (an included library or JS module I can live with). Ideally the solution would work on Mac and Linux platforms as well as Windows, but a Windows solution is essential.
Any advice or insight would be appreciated. Developers, what do you use, and is it just magic or did you select tools?
Thanks!
I've looked at the JavaScript in some of them, but it's obfuscated and I can't tell which bits are necessary and which ones are part of a framework I don't otherwise need or want.
My goal: add comprehensive (larger than 2K character) files saves to disk, running from the browser, and not relying on remote calls to other code (an included library or JS module I can live with). Ideally the solution would work on Mac and Linux platforms as well as Windows, but a Windows solution is essential.
Any advice or insight would be appreciated. Developers, what do you use, and is it just magic or did you select tools?
Thanks!