Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 845 Bytes

a_bevy_project_that_does_nothing.md

File metadata and controls

19 lines (13 loc) · 845 Bytes

A Bevy Project That Does Nothing

Any Bevy app starts from the bevy::app::App struct. We initialize the App struct by its new() function, and call the run() method to start the app.

use bevy::app::App;

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

This program terminates immediately and outputs nothing. Yet, it is the template of all Bevy apps that we can add functions and features to.

➡️ Next: Systems - They Are Functions In Bevy

📘 Back: Table of contents