Is this library intended to be used with Bevy games? #51
-
I'm trying out this library for a main menu UI in my game, but it seems like the minimal example creates a separate window with a white background. Does this library intend to be able to overlay UI on top of an existing bevy window to integrate with games? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @tqwewe, So the short answer is no unfortunately. You cannot overlay UI within the same window that renders game graphics. This is because dip depends on a different window manager called TAO. Which is actually the hard fork of winit but totally different rendering logic. At least for now, this project is aiming for DOM based app developers that needs extra power and flexibility in their apps comparing to existing solution like Electron + React stack. |
Beta Was this translation helpful? Give feedback.
Hi @tqwewe,
Thanks for the first discussion entry ever! I didn't realize till now.
So the short answer is no unfortunately. You cannot overlay UI within the same window that renders game graphics. This is because dip depends on a different window manager called TAO. Which is actually the hard fork of winit but totally different rendering logic.
At least for now, this project is aiming for DOM based app developers that needs extra power and flexibility in their apps comparing to existing solution like Electron + React stack.