This commit is contained in:
2025-10-29 04:02:47 +01:00
parent 84f75cb2a7
commit 99c606ca5b
33 changed files with 1004 additions and 76 deletions

View File

@@ -60,6 +60,7 @@ func interact() -> void:
if interactable == null:
fight_animation.rotation_degrees = 0
fight_animation.play()
$Hit.play()
if !fight_animation.is_playing():
fight_animation.play()
await animated_sprite.animation_finished
@@ -69,6 +70,7 @@ func interact() -> void:
if interactable == null:
fight_animation.rotation_degrees = 180
fight_animation.play()
$Hit.play()
if !fight_animation.is_playing():
fight_animation.play()
await animated_sprite.animation_finished
@@ -76,6 +78,7 @@ func interact() -> void:
"side":
animated_sprite.play("hand_side")
if interactable == null:
$Hit.play()
if animated_sprite.flip_h:
fight_animation.rotation_degrees = 90
else: