So you want to build an ECS-backed GUI framework (2023)
5 days ago
- #Rust
- #ECS
- #GUI
- Bevy is developing an ECS-backed GUI framework called `bevy_ui`, aiming to provide a type-safe, fast solution for UI in Rust.
- Existing Rust GUI frameworks have limitations, and Bevy aims to create a more integrated, maintainable solution that avoids third-party dependencies.
- Key challenges include entity spawning boilerplate, lack of a widget abstraction, and poor input handling, but these are not unique to ECS.
- Bevy's roadmap includes straightforward tasks like adding rounded corners and nine-patch support, controversial tasks like styling abstractions, and research tasks like defining a standard widget abstraction.
- The goal is to make `bevy_ui` a flexible, high-quality solution for both games and applications, leveraging Bevy's existing strengths in rendering, state management, and input handling.