bevy 0.4.0

A refreshingly simple data-driven game engine and app framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use bevy::prelude::*;

fn main() {
    App::build()
        .add_startup_system(startup_system.system())
        .add_system(normal_system.system())
        .run();
}

/// Startup systems are run exactly once when the app starts up.
/// They run right before "normal" systems run.
fn startup_system() {
    println!("startup system ran first");
}

fn normal_system() {
    println!("normal system ran second");
}