summaryrefslogtreecommitdiff
path: root/scripts/mainmenu.gd
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mainmenu.gd')
-rw-r--r--scripts/mainmenu.gd11
1 files changed, 5 insertions, 6 deletions
diff --git a/scripts/mainmenu.gd b/scripts/mainmenu.gd
index e07b88f..d63d1be 100644
--- a/scripts/mainmenu.gd
+++ b/scripts/mainmenu.gd
@@ -1,23 +1,22 @@
extends Control
-func _ready():
- pass
func _on_StartButton_pressed():
get_tree().change_scene("res://scenes/level.tscn")
func _on_LeaderboardButton_pressed():
- pass # Replace with function body.
+ pass
func _on_HelpButton_pressed():
- pass # Replace with function body.
+ pass
func _on_OptionsButton_pressed():
- pass # Replace with function body.
+ add_child(preload("res://scenes/optionsmenu.tscn").instance())
+
func _on_CreditsButton_pressed():
- pass # Replace with function body.
+ pass
func _on_QuitButton_pressed():
get_tree().quit()