Improved animation and bullet detection for heart shot ending.

This commit is contained in:
Henry 2026-03-06 14:17:51 +00:00
parent 5bf3078953
commit b12558a846
6 changed files with 14 additions and 3 deletions

View file

@ -84,6 +84,7 @@ func _on_area_entered(area: Area2D) -> void:
if area.is_in_group("heart"):
print("Heart hit!")
EventBus.ending.emit(2)
queue_free()
#area.hit_detection()