1 unstable release
0.1.0 | Oct 3, 2023 |
---|
#1711 in Game dev
1.5MB
895 lines
Bevy Debug Overlay
A simple bevy plugin to show debug information
https://user-images.githubusercontent.com/8348954/212449853-95893c5a-f61c-49cc-91d3-9192624b0509.mp4
About
A simple plugin to show debug information like fps, frametimes window configuration and more.
Implementation details
The frametime is represented by a bar graph. Each bar will scale and change it's color based on the associated delta time. A bigger bar means a longer delta time.
Based on https://asawicki.info/news_1758_an_idea_for_visualization_of_frame_times
Usage
- Add the
OverlayPlugin
to your app - Spawn a camera with a
CameraOverlay
tag component
For a more detailed example see 3d
Bevy Version Support
We intend to track the main
branch of Bevy. PRs supporting this are welcome!
bevy | bevy_debug_overlay |
---|---|
0.10 | 0.1 |
Community Support
If you want some help using this plugin, you can ask in the Bevy Discord at https://discord.gg/bevy.
License
bevy_debug_overlay is free and open source! 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. This means you can select the license you prefer! This dual-licensing approach is the de-facto standard in the Rust ecosystem and there are very good reasons to include both.
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.
Sponsors
The creation and maintenance of Bevy Debug Overlay is sponsored by Foresight Mining Software Corporation.
Dependencies
~20–56MB
~1M SLoC