diff --git a/src/player.rs b/src/player.rs index a3570fd..d0d91b4 100644 --- a/src/player.rs +++ b/src/player.rs @@ -57,6 +57,7 @@ pub fn startup( Name::new("PlayerSprite"), SpriteBundle { texture: assets.load("img/Player.png"), + transform: Transform::from_xyz(-1., 16., 0.), ..default() }, TextureAtlas { @@ -78,7 +79,7 @@ pub fn startup( text.transform.scale.x = 0.25; text.transform.scale.y = 0.25; text.transform.translation.z = 500.0; - text.transform.translation.y = 32.; + text.transform.translation.y = 48.; player.spawn((Name::new("PlayerName"), text)); player .spawn((