aalo আলো
in bengali, aalo means "light" (i.e. photons), not to be confused with haalka !
aalo aka bevy-inspector-haalka is a bevy_ui-native inspector built with haalka which aims to port much of the behavior of bevy-inspector-egui to bevy_ui
https://github.com/user-attachments/assets/1c0ca67f-c910-4795-b7cc-5cf19827c3dc
setup
[]
= { = "0.1", = true }
[]
= ["aalo"]
HIGHLY RECOMMENDED, while not required, aalo is much snappier when compiled in release mode, you'll only need to do so once
[]
= 3
use *;
app.add_plugins;
registering custom frontends
Use register_frontend, passing in a fully qualified type path and a function that returns an impl Bundle, e.g. Node, whose Entity also has a FieldListener Component. FieldListener is just a wrapper around a SystemId<In<Box<dyn PartialReflect>>>, which will be forwarded the corresponding field's value every frame it is visible in the inspector; aalo will unregister the system for you when the entity is despawned.
register_frontend;
register_frontend;
;
;
hotkeys
/: open search
:: open targeting
tab/shift-tab: iterate up/down through search/targeting parts
left arrow/right arrow: iterate left/right through search/targeting roots
esc: close search/targeting
examples
on the web
All examples are compiled to wasm for both webgl2 and webgpu (check compatibility) and deployed to github pages.
-
minimal world inspector
-
custom frontend for a field and a component
Or run them locally with cargo.
Or with just, e.g. just example world -r.
Bevy compatibility
| bevy | aalo |
|---|---|
0.16 |
0.1 |
0.15 |
0.0 |
license
All code in this repository is dual-licensed under either:
- MIT License (LICENSE-MIT or http://opensource.org/licenses/MIT)
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
at your option.
your contributions
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.