bevy-fps-ui

Crates.iobevy-fps-ui
lib.rsbevy-fps-ui
version0.2.0
sourcesrc
created_at2024-06-26 11:52:59.169509
updated_at2024-07-06 10:14:41.425
descriptionFancy FPS counter for Bevy Game Engine
homepage
repositoryhttps://github.com/kamilkonefke/bevy-fps-ui
max_upload_size
id1284438
size122,002
kamii (kamilkonefke)

documentation

README

bevy-fps-ui

Simple and fancy FPS counter for Bevy Game Engine image

Instalation

Via terminal: cargo add bevy-fps-ui

Or add this to your Cargo.toml dependencies: bevy-fps-ui = "0.1.3"

Usage

Basically add FpsCounterPlugin to your app:

use bevy::prelude::*;
use bevy_fps_ui::*; 

fn main() {
    App::new()
        .add_plugins(DefaultPlugins)
        .add_plugins(FpsCounterPlugin)
        .run();
}

Example

You can run example with cargo run --example basic also see basic example

Compatibility with Bevy

bevy bevy-fps-ui
0.14 0.2
0.13 0.1
Commit count: 14

cargo fmt