diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2022-08-05 20:17:55 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2022-08-05 20:17:55 -0400 |
| commit | 19aba81bd9920c470ff258b35ef14276faa1146e (patch) | |
| tree | 2937e91c1822edaf4ad0fcaf44f8a50ecf303203 /menu/Menu.gd | |
| parent | cc3ae0f86b824cec321ee7734df4daa22b81af70 (diff) | |
| download | frivolous-run-19aba81bd9920c470ff258b35ef14276faa1146e.tar.gz frivolous-run-19aba81bd9920c470ff258b35ef14276faa1146e.tar.bz2 frivolous-run-19aba81bd9920c470ff258b35ef14276faa1146e.zip | |
Finally some gameplay
Diffstat (limited to 'menu/Menu.gd')
| -rw-r--r-- | menu/Menu.gd | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/menu/Menu.gd b/menu/Menu.gd new file mode 100644 index 0000000..d04aad7 --- /dev/null +++ b/menu/Menu.gd @@ -0,0 +1,31 @@ +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 + + +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. + + +func _on_Quit_button_up(): + get_tree().quit() + pass # Replace with function body. |
