change the z index of the blocks
this is to show them in front of the tilemap
This commit is contained in:
parent
4f668f94d9
commit
30b31d55e0
@ -61,6 +61,7 @@ tracks/0/keys = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
[node name="MysteryBlock" type="StaticBody2D" groups=["Block"]]
|
[node name="MysteryBlock" type="StaticBody2D" groups=["Block"]]
|
||||||
|
z_index = 1
|
||||||
script = ExtResource( 3 )
|
script = ExtResource( 3 )
|
||||||
|
|
||||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||||
@ -77,7 +78,7 @@ shape = SubResource( 4 )
|
|||||||
anims/hit = SubResource( 5 )
|
anims/hit = SubResource( 5 )
|
||||||
|
|
||||||
[node name="Bolt" parent="." instance=ExtResource( 2 )]
|
[node name="Bolt" parent="." instance=ExtResource( 2 )]
|
||||||
z_index = -1
|
z_as_relative = false
|
||||||
collision_layer = 0
|
collision_layer = 0
|
||||||
collision_mask = 0
|
collision_mask = 0
|
||||||
monitoring = false
|
monitoring = false
|
||||||
|
@ -61,6 +61,7 @@ tracks/0/keys = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
[node name="MysteryBlockCave" type="StaticBody2D" groups=["Block"]]
|
[node name="MysteryBlockCave" type="StaticBody2D" groups=["Block"]]
|
||||||
|
z_index = 1
|
||||||
script = ExtResource( 2 )
|
script = ExtResource( 2 )
|
||||||
|
|
||||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||||
@ -77,7 +78,7 @@ shape = SubResource( 4 )
|
|||||||
anims/hit = SubResource( 7 )
|
anims/hit = SubResource( 7 )
|
||||||
|
|
||||||
[node name="Bolt" parent="." instance=ExtResource( 3 )]
|
[node name="Bolt" parent="." instance=ExtResource( 3 )]
|
||||||
z_index = -1
|
z_as_relative = false
|
||||||
collision_layer = 0
|
collision_layer = 0
|
||||||
collision_mask = 0
|
collision_mask = 0
|
||||||
monitoring = false
|
monitoring = false
|
||||||
|
Loading…
Reference in New Issue
Block a user