Crates.io | bevy-fps-ui |
lib.rs | bevy-fps-ui |
version | 0.2.0 |
source | src |
created_at | 2024-06-26 11:52:59.169509 |
updated_at | 2024-07-06 10:14:41.425 |
description | Fancy FPS counter for Bevy Game Engine |
homepage | |
repository | https://github.com/kamilkonefke/bevy-fps-ui |
max_upload_size | |
id | 1284438 |
size | 122,002 |
Simple and fancy FPS counter for Bevy Game Engine
Via terminal:
cargo add bevy-fps-ui
Or add this to your Cargo.toml dependencies:
bevy-fps-ui = "0.1.3"
Basically add FpsCounterPlugin
to your app:
use bevy::prelude::*;
use bevy_fps_ui::*;
fn main() {
App::new()
.add_plugins(DefaultPlugins)
.add_plugins(FpsCounterPlugin)
.run();
}
You can run example with
cargo run --example basic
also see basic example
bevy |
bevy-fps-ui |
---|---|
0.14 |
0.2 |
0.13 |
0.1 |