aboutsummaryrefslogtreecommitdiff
path: root/menu/Menu.gd
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2022-08-06 15:15:55 -0400
committerAndrew Lee <alee14498@protonmail.com>2022-08-06 15:15:55 -0400
commite47a732cb6b9a117faf7662170ced55e86da4add (patch)
tree37e4d0ce4ab47d5bbb0f9508b3875a78b44b4fa1 /menu/Menu.gd
parentf38880a49047aeea9ff55a3f1fd13701688ca56f (diff)
downloadfrivolous-run-e47a732cb6b9a117faf7662170ced55e86da4add.tar.gz
frivolous-run-e47a732cb6b9a117faf7662170ced55e86da4add.tar.bz2
frivolous-run-e47a732cb6b9a117faf7662170ced55e86da4add.zip
New credits, music
Diffstat (limited to 'menu/Menu.gd')
-rw-r--r--menu/Menu.gd22
1 files changed, 2 insertions, 20 deletions
diff --git a/menu/Menu.gd b/menu/Menu.gd
index fa895da..6852150 100644
--- a/menu/Menu.gd
+++ b/menu/Menu.gd
@@ -1,31 +1,13 @@
-extends MarginContainer
-
-
-# Declare member variables here. Examples:
-# var a = 2
-# var b = "text"
-
-
-# Called when the node enters the scene tree for the first time.
-func _ready():
- pass # Replace with function body.
-
-
-# Called every frame. 'delta' is the elapsed time since the previous frame.
-#func _process(delta):
-# pass
-
+extends Control
func _on_Play_button_up():
if get_tree().change_scene("res://game/Game.tscn") != OK:
print("There was an error trying to load the scene...")
- pass # Replace with function body.
func _on_Credits_button_up():
- pass # Replace with function body.
+ $CreditsDialog.popup_centered()
func _on_Quit_button_up():
get_tree().quit()
- pass # Replace with function body.