godot-ci/test-project/scripts/HUD.gd
Antonio Dell'Annunziata 79e2014976
Some checks are pending
godot-ci export / Windows Export (push) Waiting to run
godot-ci export / Linux Export (push) Waiting to run
godot-ci export / Web Export (push) Waiting to run
godot-ci export / Mac Export (push) Waiting to run
Adapt to forgejo
2025-03-02 11:36:40 +01:00

15 lines
382 B
GDScript
Executable file

extends Control
func _ready():
pass
# --- Signals ---
func _on_Theme_Button_pressed(button_index: int) -> void:
GLOBAL.update_global_theme(button_index)
func _on_StartButton_pressed():
get_node("/root/Main").emit_signal("start_zoom_out")
get_node("/root/Main/Game/EnemyGenerator").emit_signal("start")
get_node("/root/Main/Game/Player").emit_signal("unblock")
self.hide()