change the z index of the blocks

this is to show them in front of the tilemap
This commit is contained in:
Chris Cromer 2022-11-20 23:50:43 -03:00
parent 4f668f94d9
commit 30b31d55e0
2 changed files with 4 additions and 2 deletions

View File

@ -61,6 +61,7 @@ tracks/0/keys = {
}
[node name="MysteryBlock" type="StaticBody2D" groups=["Block"]]
z_index = 1
script = ExtResource( 3 )
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
@ -77,7 +78,7 @@ shape = SubResource( 4 )
anims/hit = SubResource( 5 )
[node name="Bolt" parent="." instance=ExtResource( 2 )]
z_index = -1
z_as_relative = false
collision_layer = 0
collision_mask = 0
monitoring = false

View File

@ -61,6 +61,7 @@ tracks/0/keys = {
}
[node name="MysteryBlockCave" type="StaticBody2D" groups=["Block"]]
z_index = 1
script = ExtResource( 2 )
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
@ -77,7 +78,7 @@ shape = SubResource( 4 )
anims/hit = SubResource( 7 )
[node name="Bolt" parent="." instance=ExtResource( 3 )]
z_index = -1
z_as_relative = false
collision_layer = 0
collision_mask = 0
monitoring = false