Bevy usage in large webapp #9134
Unanswered
MNewbigging
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Shameless bump! |
Beta Was this translation helpful? Give feedback.
0 replies
-
It's possible to get rust apps to communicate with web stuff through Concerning complexity: you would need to design a communication layer to get your web app to interact with bevy. Depending on the extent of what you need to do through the web interface, this might be a fairly tall order. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks, I'm doing a little research on Bevy as it might be a good fit for my workplace to use. I have a few questions revolving around our particular use case which I'm hoping someone here can shed some light on.
Use Case
We currently have a large Angular web app that wraps around a bespoke game engine which we use to render massive models and complex 3d scenes. The Angular app has a UI layer which reads from the state of the engine to display data about it, and also control the engine by means of manipulating the scene objects via an interface - as such the engine provides a large api for the ui layer to do this.
We're considering swapping our bespoke engine for Bevy, as it looks like it would provide a performance boost as well as abstract some of the lower level engine work.
Questions
Can we keep our Angular app and slot in a WASM build output from Bevy in a html canvas?
Can the Angular app read state from the Bevy build?
Can the Angular app communicate (call functions from an api in) the Bevy build?
Could we implement a simple event listener in Bevy, for the Angular app to consume and respond to events?
Thanks for reading, appreciate any insights you might have :)
Beta Was this translation helpful? Give feedback.
All reactions