Noah Petherbridge
35a89e5dbe
* In WASM build, user levels and doodads are written to localStorage using their userdir path as keys (".config/levels/test.level") * LoadFile() and WriteFile() for both Levels and Doodads interact with the localStorage for WASM build instead of filesystem for desktop. * userdir.ListLevels() and ListDoodads() for WASM scan the localStorage keys for file names. * userdir.ResolvePath() now works for WASM (previously was dummied out), checks for the file in localStorage. |
||
---|---|---|
.. | ||
ajax.go | ||
localstorage_js.go | ||
localstorage.go |