Added underpinnings for advanced screen flash; tweaked default values

for existing screen flash.
This commit is contained in:
Henry 2026-03-07 14:13:15 +00:00
parent 20b657c7b1
commit 8679e817ee
5 changed files with 23 additions and 7 deletions

View file

@ -62,7 +62,7 @@ func boss_horse():
if heart_taken == false:
print("Boss horse!")
await get_tree().create_timer(2).timeout
EventBus.flash_screen.emit(.25)
EventBus.flash_screen.emit(.15)
$Heart.hide()
$Heart.monitoring = false
$Sprite2D.frame = 7
@ -71,7 +71,7 @@ func boss_horse():
var horse_player = $Horse/AnimationPlayer
horse_player.play("run")
await get_tree().create_timer(10).timeout
EventBus.flash_screen.emit(.25)
EventBus.flash_screen.emit(.15)
$Horse.hide()
$Horse.end()
await get_tree().create_timer(5).timeout