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
|
|
@ -149,11 +149,13 @@ func _on_ending(value: int):
|
|||
heart_broken = true
|
||||
horse_phase = false
|
||||
horse_phase_check()
|
||||
print("Some hearts are too wild.")
|
||||
$Heart.hide()
|
||||
$Heart.monitoring = false
|
||||
$Heart.monitorable = false
|
||||
print("Some hearts are too wild.")
|
||||
EventBus.heart_beat.emit(0)
|
||||
await get_tree().create_timer(2).timeout
|
||||
EventBus.flash_screen.emit(.25)
|
||||
$Heart.queue_free()
|
||||
$Sprite2D.frame = 4
|
||||
await get_tree().create_timer(4).timeout
|
||||
EventBus.goose_talk.emit(4)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue