Improved animation and bullet detection for heart shot ending.
This commit is contained in:
parent
5bf3078953
commit
b12558a846
6 changed files with 14 additions and 3 deletions
|
|
@ -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()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue