New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃枼 UI System #4
Comments
It will take more investigation, but I think building on top of Iced might be a good idea. It's so modularized that we could potentially just take it's very core features and the Elm-like runtime and then totally design our own widgets and layout stuff to be simple however we need it for Bevy Retro. We could try out Bevy's UI, too, but I have a feeling using Bevy's UI with our own renderer will not work quite right, and the I think Bevy UI is going to be changing a lot so I'm not sure that I want to bet on it just yet. Not that Iced isn't changing either, I just feel that it's going to be more fleshed out. |
And I'm re-thinking that again, actually. We've already got the ECS for state storage so the ELM architecture might not make a ton of sense here. Anyway, going to be doing some searching around and running experiments. |
Just finished implementing render hooks which give us a way to modularly extend the renderer. This will allow us to add the UI renderer as a separate render hook. For UI we are looking into using the RAUI crate which appears to have all the features we need. |
Great progress has been made supporting UI with RAUI: RAUI-labs/raui#17! There's currently an example that needs work, but is functional: https://github.com/katharostech/bevy_retro/blob/8a44707cb1324951127b62c612d061862dd745c0/examples/ui.rs#L1 |
Almost finished! Got it hooked up to the ECS. Needs a change to RAUI that still needs review, but I think we'll be able to make it work somehow. We can now get access to the Bevy |
Well, I'm going to consider UI "finished"! There might be more work to do, but I'll create more issues for those. Our PR to RAUI has been accepted and should be merged soon and UI is usable right now in Bevy Retro as it points to our RAUI fork. 馃帀 馃帀 馃帀 |
We need the basics necessary for UI:
bevy_ninepatch
.The text was updated successfully, but these errors were encountered: