game: add minimal main menu

This commit is contained in:
2025-08-23 21:04:26 +02:00
parent d74831df56
commit f06bf17757
3 changed files with 89 additions and 0 deletions

19
scenes/main_menu.gd Normal file
View File

@@ -0,0 +1,19 @@
extends Control
const MAIN = preload("res://scenes/main.tscn")
func _ready() -> void:
pass
func _on_new_game_button_pressed() -> void:
get_tree().change_scene_to_packed(MAIN)
func _on_options_button_pressed() -> void:
pass # Replace with function body.
func _on_exit_game_button_pressed() -> void:
get_tree().quit()