This commit is contained in:
MarcEricMartel
2023-10-10 09:08:31 -04:00
parent 5bb961576f
commit 4c4edb4bc0
4 changed files with 78 additions and 0 deletions

11
Scripts/StartButton.gd Normal file
View File

@@ -0,0 +1,11 @@
extends Button
# 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

19
Scripts/start_menu.gd Normal file
View File

@@ -0,0 +1,19 @@
extends Control
# 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_start_button_pressed():
get_tree().change_scene("res://Scenes/level1.tscn")
func _on_quit_button_pressed():
get_tree().quit()