From 0611eeafefb017aa8d400d236a88c778256759e8 Mon Sep 17 00:00:00 2001 From: PhantomMorrigan Date: Sat, 20 Jun 2026 19:20:00 +0200 Subject: [PATCH] hello!!! --- src/main.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index f211e9e..bfc3d44 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,10 +3,11 @@ use bevy::prelude::*; fn main() { App::new() .add_plugins(DefaultPlugins) - .add_system(Startup, setup) + .add_systems(Startup, setup) .run(); } -fn setup(commands: Commands) { +fn setup(mut commands: Commands) { commands.spawn(Camera2d); + commands.spawn(Text2d("hii!".into())); } -- knotmirror 0.0.1