main menu
This commit is contained in:
parent
29254dbda0
commit
089ebc4797
35 changed files with 389 additions and 117 deletions
16
scripts/components/gui/menu_buttons.gd
Normal file
16
scripts/components/gui/menu_buttons.gd
Normal 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")
|
||||
Loading…
Add table
Add a link
Reference in a new issue