All Questions
Tagged with bevy webassembly
5 questions
-1
votes
1
answer
51
views
Ron file not detected by browser
I am trying to compile foxtrot app( with my modifications) to WASM. I have found most of the problems with Vulkan, OpenGl and WPU. Now I have another one. It seems that the browser doesn't see ron ...
1
vote
2
answers
482
views
Request data from webserver at runtime Rust/Bevy/Wasm
I have a small game on my website and im trying to implement a leaderboard. For this to work, I need to fetch the high scores to compare the current score to and then post back the updated list when I’...
0
votes
1
answer
894
views
Error running a Bevy game in browser: "WebAssembly.instantiate(): Import #0 module="wbindgen_placeholder" error: module is not an object or function"
I am trying to run a game I built with Bevy and Rust in the browser. Bevy started supporting WebGL2 from version 0.11.0, and I am using this version. I have compiled my Rust code to WebAssembly using ...
2
votes
1
answer
1k
views
Render WASM Graphics to Custom HTML Canvas
I have setup a WASM project using Rust and a game engine called Bevy to create graphics within a Svelte app. However, when I run the init() function generated by wasm-pack, it creates a canvas element ...
0
votes
1
answer
209
views
Is there a way to configure "exit_on_all_closed" for browser tabs?
I'm currently working on understanding building Rust apps using Bevy in WebAssembly. Under normal circumstances, the exit_all_on_closed variable in the following code allows for the app to close when ...