diff options
| author | Radio <radiohotline@disroot.org> | 2026-05-31 00:17:01 +0300 |
|---|---|---|
| committer | Radio <radiohotline@disroot.org> | 2026-05-31 00:17:01 +0300 |
| commit | 7f437327b25be23b1cdcd4aa3898d428421e533f (patch) | |
| tree | 555cece0119bd0673712cd4304a3a28ba0cc3c82 /scenes/ui/title_button.gd | |
| parent | 9d87bc7922f76dc835ac4d4e99115b204cbfdea7 (diff) | |
menu fixes, options menu, and movement mechanic
Diffstat (limited to 'scenes/ui/title_button.gd')
| -rw-r--r-- | scenes/ui/title_button.gd | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/scenes/ui/title_button.gd b/scenes/ui/title_button.gd deleted file mode 100644 index 3dc86fb..0000000 --- a/scenes/ui/title_button.gd +++ /dev/null @@ -1,20 +0,0 @@ -extends Control - -var options: CanvasLayer - -func _on_exit_pressed() -> void: - get_tree().quit() - - -func _on_start_pressed() -> void: - get_tree().change_scene_to_file("res://scenes/room/start.tscn") - - -func _on_main_menu_pressed() -> void: - get_tree().change_scene_to_file("res://scenes/ui/title.tscn") - - -func _on_options_pressed() -> void: - options = load("uid://i8ml66ykc8eh").instantiate() - add_child(options) - |
