main menu

This commit is contained in:
Rendo 2025-07-01 17:31:12 +05:00
commit 089ebc4797
35 changed files with 389 additions and 117 deletions

View file

@ -0,0 +1,16 @@
extends Node
func _on_play_button_pressed() -> void:
get_tree().change_scene_to_file("res://scenes/prototype_survival.tscn")
$ChannelPlayer.call("Play")
func _on_exit_button_pressed() -> void:
get_tree().quit()
$ChannelPlayer.call("Play")
func _on_button_pressed() -> void:
$"../AboutWindow".popup_centered()
$ChannelPlayer.call("Play")