From 06f4a88de33a2ec867a7842197854eefce36d281 Mon Sep 17 00:00:00 2001 From: zefad Date: Wed, 16 Sep 2026 18:01:46 +0200 Subject: [PATCH] z coordonate to 1 --- src/player.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/player.rs b/src/player.rs index 8bb25b1..3ab27ea 100644 --- a/src/player.rs +++ b/src/player.rs @@ -17,8 +17,8 @@ fn spawn_player(mut commands: Commands) { commands.spawn(( Player, Velocity(Vec2::ZERO), - Sprite::from_color(Color::srgb(0.5, 0.5, 0.5), Vec2::new(20.0, 40.0)), - Transform::from_xyz(0.0, 350.0, 0.0), // Top of the screen + Sprite::from_color(Color::srgb(1.0, 1.0, 1.0), Vec2::new(20.0, 40.0)), + Transform::from_xyz(0.0, 0.0, 1.0), )); }