The UX of Bevy's Web Story #4279
Replies: 5 comments 9 replies
-
Resizing Bevy with the size of the windowThis is more of a winit responsibility, and will be fixed by rust-windowing/winit#2074 |
Beta Was this translation helpful? Give feedback.
-
WebGPU supportI think Bevy should wait for WebGPU to be available at least in stable Firefox and Chrome before tackling support |
Beta Was this translation helpful? Give feedback.
-
WebAudio APIThis feels too low level to have in Bevy directly. Could you check with rodio or kira if they intend to support it? |
Beta Was this translation helpful? Give feedback.
-
This is the crate, for the record: https://github.com/frewsxcv/bevy-web-resizer |
Beta Was this translation helpful? Give feedback.
-
Web multithreadingThis is generally useful for performance, but is particularly critical for the creation of async tasks. |
Beta Was this translation helpful? Give feedback.
-
With the closing of #88, @alice-i-cecile recommended we create a discussion that deals with the robustness of Bevy's UX in the web browser, now that Bevy's web support MVP has been accomplished.
Some issues that come to mind immediately are:
Using the browserWebAudioAudioWorklet API to do background multithreaded audio using WebAssemblyFirst party browser features like automatically resizing the Bevy app with the size of the window (I believe there was a 3rd party crate for this created by @frewsxcv during the Bevy Game Jam a few weeks ago)@mockersf resolved this below: "This is more of a winit responsibility, and will be fixed by UseResizeObserver
to control the size of the canvas rust-windowing/winit#2074"There are myriad other issues with the current state of Bevy's UX story in the browser, I plan to mine the issues, PRs, and discussions that mention web/wasm to fill in the many things I've missed adding to this so far. I will continue to work on filling out this conversation description the rest of this week. Help and ideas would be greatly appreciated!
One of the first things I plan to do is to review all the comments on #88 and migrate the insights from the still relevant comments on that issue to this new discussion so that we do not lose them.
Beta Was this translation helpful? Give feedback.
All reactions