Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filesystem #52

Open
PSteinhaus opened this issue Sep 14, 2021 · 0 comments
Open

filesystem #52

PSteinhaus opened this issue Sep 14, 2021 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@PSteinhaus
Copy link
Member

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.

@PSteinhaus PSteinhaus added enhancement New feature or request question Further information is requested labels Sep 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant