Start menu
This commit is contained in:
parent
0f5e075a54
commit
f272b7b433
3 changed files with 56 additions and 1 deletions
14
metroidvania/StarMenu.gd
Normal file
14
metroidvania/StarMenu.gd
Normal file
|
@ -0,0 +1,14 @@
|
|||
extends Control
|
||||
|
||||
func _ready():
|
||||
VisualServer.set_default_clear_color(Color.black)
|
||||
|
||||
func _on_StartButton_pressed():
|
||||
get_tree().change_scene("res://Scenes/World/World.tscn")
|
||||
|
||||
func _on_LoadButton_pressed():
|
||||
# TODO: Savegames
|
||||
pass
|
||||
|
||||
func _on_QuitButton_pressed():
|
||||
get_tree().quit()
|
Loading…
Add table
Add a link
Reference in a new issue