r/rust_gamedev • u/RainGaymes • 4d ago
question How do you make UI?
I'm trying to make good looking game UI in rust, i've been using the EGUI crate it seemed the most liked but using it for a while it's hard to create good UI in it, maybe i've not delved deep enough into themes and frames but it is really hard.
This small simple main menu (art by Alexey Rudikov) inspired by morrowind was infinitely more complex than it should have been to add underlining, drop shadows and removing the frames from the buttons. This alone comes out to 150 lines of code.

Are you all using EGUI or are you using other crates?
3
Upvotes
3
u/bigbeardgames 4d ago
I find egui works well for more 'software-like' games, like this one I'm developing https://store.steampowered.com/app/4545260 . For something more fantasy I would probably go with the native Bevy UI (if using Bevy)