From ea37c101e090da435cdc12b7211cbc46b71ce4e0 Mon Sep 17 00:00:00 2001 From: Seth Louis <116498290+bonsaipropaganda@users.noreply.github.com> Date: Wed, 5 Jul 2023 09:15:38 -0400 Subject: [PATCH] Fix Z Index on platforms in 2D platformer demo (#927) --- 2d/platformer/level/level.tscn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/2d/platformer/level/level.tscn b/2d/platformer/level/level.tscn index 69365f63..44b781d2 100644 --- a/2d/platformer/level/level.tscn +++ b/2d/platformer/level/level.tscn @@ -229,6 +229,7 @@ position = Vector2(16, 0) [node name="Platforms" type="Node" parent="."] [node name="Platform" parent="Platforms" instance=ExtResource("3")] +z_index = 0 position = Vector2(707, 400) [node name="AnimationPlayer" type="AnimationPlayer" parent="Platforms/Platform"] @@ -239,6 +240,7 @@ libraries = { } [node name="Platform2" parent="Platforms" instance=ExtResource("3")] +z_index = 0 position = Vector2(-47, 80) [node name="AnimationPlayer" type="AnimationPlayer" parent="Platforms/Platform2"] @@ -249,7 +251,6 @@ libraries = { } [node name="PlatformStatic" type="StaticBody2D" parent="Platforms"] -z_index = -1 position = Vector2(569.935, 105.877) rotation = 0.355618 collision_layer = 16