lose screen animation

This commit is contained in:
Michael Campbell 2026-04-14 15:10:14 -04:00
parent 1d0032b587
commit dba09165e8
9 changed files with 151 additions and 2 deletions

View file

@ -30,7 +30,7 @@ func _on_restart_pressed() -> void:
get_tree().reload_current_scene()
func _on_quit_pressed() -> void:
get_tree().quit()
get_tree().change_scene_to_file("res://ui/title_screen/title_screen.tscn")
func _ready() -> void:
SignalBus.building_destroyed.connect(func(_b, _s): buildings_destroyed_count += 1)