tested z_layer for player

This commit is contained in:
Jonas 2025-03-24 22:26:03 +01:00
parent e55dc546e3
commit a86056afc5
2 changed files with 1 additions and 2 deletions

View File

@ -11,5 +11,3 @@ script = ExtResource("1_8d50e")
[node name="IsometricMapLayerHolder" parent="." instance=ExtResource("1_ln2x5")]
[node name="Player" parent="." instance=ExtResource("2_6or15")]
visible = false
z_index = 99

View File

@ -6,6 +6,7 @@ extends CharacterBody2D
func _process(_delta: float):
play_idle_animation()
animated_sprite.z_index = 5
func play_idle_animation():