You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current filesystem is a remnant from a time when miniquad wasn't able to load files via URL on WASM.
Since it's now able to do so we might think about removing the embedded file cache. On the other hand it might still be nice to have in some circumstances and could just be disabled by default.
What should be addressed though is writing data, or even creating folders and the like. It should be easily possible to recreate ggez's filesystem by copying the code and then hiding it behind conditional compilation for WASM (since I assume Android and iOS do support std::fs, gotta take a look into it).
One may argue though, whether this is actually the right thing to do, as good-web-game is (obviously) meant to be portable to the web, which these functions aren't.
The text was updated successfully, but these errors were encountered:
The current filesystem is a remnant from a time when miniquad wasn't able to load files via URL on WASM.
Since it's now able to do so we might think about removing the embedded file cache. On the other hand it might still be nice to have in some circumstances and could just be disabled by default.
What should be addressed though is writing data, or even creating folders and the like. It should be easily possible to recreate ggez's filesystem by copying the code and then hiding it behind conditional compilation for WASM (since I assume Android and iOS do support std::fs, gotta take a look into it).
One may argue though, whether this is actually the right thing to do, as good-web-game is (obviously) meant to be portable to the web, which these functions aren't.
The text was updated successfully, but these errors were encountered: