bevy_screen_diagnostics
Display bevy diagnostics on the window without any hassle.
What this can do:
- easy frame and entity dignostics
- add custom diagnostics
- change display of diagnostics on the fly
- toggle diagnostics easily
see the examples on how to do this.
Quickstart
This adds the framerate and frametime diagnostics to your window.
use *;
use ;
The ScreenFrameDiagnosticsPlugin is a very simple plugin
Font
you can use a custom font by disabling the builtin-font default feature and providing your own to the ScreenDiagnosticsPlugin struct. The builtin font and license can be found in the ./assets/ folder.
compatible bevy versions
| bevy | bevy_screen_diagnostics |
|---|---|
| 0.11 | 0.3 |
| 0.10 | 0.2 |
| 0.9 | 0.1 |