Skip to content

heavyrain266/bevy_toolbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bevy Toolbar

Toolbar plugin for Bevy Engine, created to provide set of tools and utils which can be expanded for your own needs.

Crate itself is designed to be installed manually, fork this repo and fetch source, add bevy_toolbar to your workspace in Cargo.toml, then start adding new features related to your game.

Installation

NOTE: bevy_toolbar no longer bundle bevy_egui under plugin group, you will have to manually install it

Remember to add ToolbarPlugins after DefaultPlugins because toolbar will not show up and most likely crash your game on startup.

use bevy::prelude::*;
use bevy::diagnostic::FrameTimeDiagnosticsPlugin,
use bevy_egui::EguiPlugin;
use bevy_toolbar::ToolbarPlugins;

/*
This will create empty window with two panels,
one on top and second on the bottom.

Click "Settings" button to enable selected tools.
*/
fn main() {
    App::new()
        .add_plugins(DefaultPlugins)
        .add_plugins(ToolbarPlugins)
        .add_plugin(EguiPlugin)
        .add_plugin(FrameDiagnosticsPlugin)
        .run();
}

Contributing

Feel free to open Pull Request(s) with new tools or integrations with other plugins.

License

bevy_toolbar is released as Public Domain library see LICENSE.

About

A plugin for Bevy Engine which implements toolbar using egui

Resources

License

Stars

Watchers

Forks

Languages