game: add menu

This commit is contained in:
2025-08-14 23:20:05 +02:00
parent 40d09e5b46
commit 3f9e261a53
9 changed files with 116 additions and 4 deletions

13
game/main_menu.gd Normal file
View File

@@ -0,0 +1,13 @@
extends Control
func _on_play_pressed() -> void:
get_tree().change_scene_to_file("res://world.tscn")
func _on_options_pressed() -> void:
get_tree().change_scene_to_file("res://options_menu.tscn")
func _on_quit_pressed() -> void:
get_tree().quit(0)