Wired up boss heart behaviour

This commit is contained in:
Henry 2026-03-04 14:43:24 +00:00
parent bee8cf77f1
commit a13f274767
7 changed files with 95 additions and 15 deletions

View file

@ -71,9 +71,10 @@ func _on_area_entered(area: Area2D) -> void:
area.hit_detection()
if area.is_in_group("boss"):
print("I've shot the boss")
queue_free()
if area.is_in_group("heart"):
print("I've shot the heart!")
area.hit_detection()
queue_free()
#func bullet_fx():