bevy_debug_overlay

Crates.iobevy_debug_overlay
lib.rsbevy_debug_overlay
version0.1.0
sourcesrc
created_at2023-10-03 06:49:54.233851
updated_at2023-10-03 06:49:54.233851
descriptionA simple Bevy plugin to show debug information like fps, frametimes window configuration and more.
homepage
repositoryhttps://github.com/ForesightMiningSoftwareCorporation/bevy_debug_overlay
max_upload_size
id990794
size1,461,823
Publishers (github:foresightminingsoftwarecorporation:publishers)

documentation

README

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:

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.

Foresight Mining Software Corporation
Commit count: 0

cargo fmt