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

@ -184,7 +184,7 @@ func _on_win_game(value: int):
start_button.show()
func _on_flash_screen(duration: float):
func _on_flash_screen(duration: float = .25):
print("flash!")
$CanvasLayer/ColorRect.visible = true
await get_tree().create_timer(duration).timeout