From 95272afe7a03fa2b268e0baf9ec43dd2313523ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A4=D1=91=D0=B4=D0=BE=D1=80=20=D0=92=D0=B5=D1=81=D0=B5?= =?UTF-8?q?=D0=BB=D0=BE=D0=B2?= Date: Sun, 15 Sep 2024 20:47:40 +0500 Subject: [PATCH] Pools scene update --- scenes/pools.tscn | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/scenes/pools.tscn b/scenes/pools.tscn index b483df0..30d031e 100644 --- a/scenes/pools.tscn +++ b/scenes/pools.tscn @@ -9,10 +9,18 @@ Plants = NodePath("Plants") Projectiles = NodePath("Projectiles") Structures = NodePath("Structures") -[node name="Zombies" type="Node" parent="."] +[node name="Zombies" type="Node2D" parent="."] +z_index = 3 +y_sort_enabled = true -[node name="Plants" type="Node" parent="."] +[node name="Plants" type="Node2D" parent="."] +z_index = 1 +y_sort_enabled = true -[node name="Projectiles" type="Node" parent="."] +[node name="Projectiles" type="Node2D" parent="."] +z_index = 4 +y_sort_enabled = true -[node name="Structures" type="Node" parent="."] +[node name="Structures" type="Node2D" parent="."] +z_index = 2 +y_sort_enabled = true