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