the boss!

This commit is contained in:
Haze Weathers 2026-01-03 12:34:28 -06:00
parent 1e618d8cd4
commit abd45d7d64
14 changed files with 445 additions and 2 deletions

View file

@ -1,15 +0,0 @@
extends Node2D
var health = 100.0
func _on_area_2d_area_entered(area: Area2D) -> void:
CurrentGame.change_score(100)
%HurtSound.play()
health -= 0.25
print(%Movements.current_animation)
if health < 50.0 && health >= 25.0 && %Movements.current_animation != "midway_left":
%Movements.play("midway_left")
if health < 25.0 && %Movements.current_animation != "pinch":
%Movements.play("pinch")
%AnimationPlayer.play("hurt")