-
Notifications
You must be signed in to change notification settings - Fork 11
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
Web/HTML5 export #18
Comments
Can you provide a design for the option exposes the Wasm C API? |
In https://github.com/ashtonmeuser/godot-wasm/blob/master/config.py I would return False if the platform is web for now. |
I'll play around with this to see how feasible it is and update this issue. In short, we'd need to override parts of the Wasmer implementation of the Wasm C API to be a bridge to JS. Wasmer cannot be compiled to Wasm but that's okay because there is obviously already a Wasm runtime exposed to web exports that is accessible by JS.
Done. Only supporting Linux, macOS, and Windows. |
Just allowing Godot Wasm to be used as a module is not enough to export for web/HTML5. This is because Wasmer (the Wasm runtime used by this project) is not able to be comiled to Wasm by Emscripten which is what is happening internally when compiling the web/HTML5 Godot export templates. The following error is presented.
I see a few solutions to this but none that are a simple addition to this project.
The text was updated successfully, but these errors were encountered: