Files
GGJ26/menus/scenes/windows/level_won_window.gd
minimata 44f251ed66
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 6s
Create tag and build when new code gets to main / Export (push) Successful in 1m1s
Basic game template addon
2026-01-30 19:45:56 +01:00

32 lines
571 B
GDScript

@tool
extends OverlaidWindow
signal continue_pressed
signal main_menu_pressed
signal restart_pressed
func _ready():
if OS.has_feature("web"):
%ExitButton.hide()
func _on_exit_button_pressed():
%ExitConfirmation.show()
func _on_main_menu_button_pressed():
%MainMenuConfirmation.show()
func _on_close_button_pressed():
continue_pressed.emit()
close()
func _on_main_menu_confirmation_confirmed():
main_menu_pressed.emit()
close()
func _on_restart_button_pressed():
restart_pressed.emit()
close()
func _on_exit_confirmation_confirmed():
get_tree().quit()