diff --git a/src/main.rs b/src/main.rs index e7a11a9..8d9b73f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,12 @@ +use bevy::prelude::*; + fn main() { - println!("Hello, world!"); + App::new() + .add_plugins(DefaultPlugins) + .add_systems(Startup, setup) + .run(); +} + +fn setup(mut commands: Commands) { + commands.spawn(Camera2d); }