tested z_layer for player
This commit is contained in:
parent
e55dc546e3
commit
a86056afc5
@ -11,5 +11,3 @@ script = ExtResource("1_8d50e")
|
|||||||
[node name="IsometricMapLayerHolder" parent="." instance=ExtResource("1_ln2x5")]
|
[node name="IsometricMapLayerHolder" parent="." instance=ExtResource("1_ln2x5")]
|
||||||
|
|
||||||
[node name="Player" parent="." instance=ExtResource("2_6or15")]
|
[node name="Player" parent="." instance=ExtResource("2_6or15")]
|
||||||
visible = false
|
|
||||||
z_index = 99
|
|
||||||
|
|||||||
@ -6,6 +6,7 @@ extends CharacterBody2D
|
|||||||
|
|
||||||
func _process(_delta: float):
|
func _process(_delta: float):
|
||||||
play_idle_animation()
|
play_idle_animation()
|
||||||
|
animated_sprite.z_index = 5
|
||||||
|
|
||||||
|
|
||||||
func play_idle_animation():
|
func play_idle_animation():
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user