This crate provides a Egui integration for the Bevy game engine.
An example WASM project is live at mvlabat.github.io/bevy_egui_web_showcase [source].
- Desktop and web platforms support
- Clipboard (web support is limited to the same window, see rust-windowing/winit#1829)
- Opening URLs
- Multiple windows support (see ./examples/two_windows.rs)
bevy_egui can be compiled with using only
egui as dependencies:
that require additional crates, can be disabled.
On Linux, this crate requires certain parts of XCB to be installed on your system. On Debian-based systems, these can be installed with the following command:
$ sudo apt install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev
Here's a minimal usage example:
# Cargo.toml  = "0.10" = "0.20"
use *; use ;
For a more advanced example, see examples/ui.rs.
Bevy support table
Note: if you're looking for a
bevy_egui version that supports
main branch of Bevy, check out open PRs, there's a great chance we've already started working on the future Bevy release support.