Z order
This commit is contained in:
parent
76ab2727de
commit
de33b6bc15
5 changed files with 127 additions and 132 deletions
|
|
@ -622,23 +622,27 @@ Structures = NodePath("Structures")
|
|||
Particles = NodePath("Particles")
|
||||
|
||||
[node name="Zombies" type="Node2D" parent="Pools"]
|
||||
z_index = 3
|
||||
z_index = 20
|
||||
z_as_relative = false
|
||||
y_sort_enabled = true
|
||||
|
||||
[node name="Plants" type="Node2D" parent="Pools"]
|
||||
z_index = 1
|
||||
z_as_relative = false
|
||||
y_sort_enabled = true
|
||||
|
||||
[node name="Projectiles" type="Node2D" parent="Pools"]
|
||||
z_index = 4
|
||||
z_index = 30
|
||||
z_as_relative = false
|
||||
y_sort_enabled = true
|
||||
|
||||
[node name="Structures" type="Node2D" parent="Pools"]
|
||||
z_index = 2
|
||||
z_index = 10
|
||||
z_as_relative = false
|
||||
y_sort_enabled = true
|
||||
|
||||
[node name="Particles" type="Node2D" parent="Pools"]
|
||||
z_index = 5
|
||||
z_index = 40
|
||||
z_as_relative = false
|
||||
|
||||
[node name="Lines" type="Node2D" parent="."]
|
||||
script = ExtResource("3_4bmqp")
|
||||
|
|
@ -688,6 +692,8 @@ layer = -2
|
|||
follow_viewport_enabled = true
|
||||
|
||||
[node name="Background" type="Sprite2D" parent="Background"]
|
||||
z_index = -100
|
||||
z_as_relative = false
|
||||
position = Vector2(500, 200)
|
||||
texture = ExtResource("4_y72yf")
|
||||
metadata/_edit_lock_ = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue