-
I find some pluses in creating a complex desktop ui using bevy.
What disadvantages will i face ? |
Beta Was this translation helpful? Give feedback.
Answered by
nicopap
Jul 4, 2023
Replies: 1 comment
-
Disadvantages:
Basically you are going to write a UI framework on top of bevy. If you don't want to write a UI framework, but rather want to write a desktop application, I'd recommend either using a pre-existing bevy ui framework (such as bevy_egui, kayak or belly) or not using bevy for your desktop UI. Note that existing bevy ui frameworks are unstable and fairly untested, so you run the risk of hitting a snag fairly quickly. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
g-codx
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Disadvantages:
bevy_ui
is extremely primitive, doesn't have any widget beside "button". You'll have to define every widgets yourselfbevy_ui
doesn't have an input solution, you'll have to inovate/reinvete the wheel to manage inputsbevy_ui
doesn't have state management, you'll have to design a really nice bridge between the ECS world and your UI declaration layer to make it workbevy_ui
has poor scene support, so you'll have to write a bit of code to get hot reloading and file-definedBasically you are going to write a UI framework on top of bevy. If you don't want to write a UI framework, but rather want to write a desktop application, I'd recommend either using a pre-existing bevy ui …