-
Notifications
You must be signed in to change notification settings - Fork 31
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
wasm-bindgen #54
Comments
The recommended way to interop with JS: https://github.com/not-fl3/miniquad/wiki/JavaScript-interop I am not a huge fan of using any third-party binaries for wasm and prefer just do However, if you really want to bring |
If I try to follow the example (using current good-web-game instead of the example repo and using the latest gl.js) I run into the following: |
Ah, it seems to be |
Ok, using conditional compilation I managed to keep gamepad support, while only disabling it for web and mobile. But since |
yes, @Bombfuse made a gamepad library that works without wasm-bindgen: github.com/bombfuse/gamepad/ |
Gamepad currently doesnt support WASM but I was in the middle of completing it previously. It is planned eventually to support WASM controllers without bindgen though |
Yeah, I stumbled over that library and was close to asking whether you plan on continuing it, because it'd be really useful for gwg. |
Apparently some dependencies used require wasm-bindgen to get them to work on WASM.
Since I've never worked with WebAssembly or Javascript before it's safe to say that I'm the wrong person for this job, though.
Therefore I hereby humbly ask for help.
The text was updated successfully, but these errors were encountered: