mirror of
https://github.com/PfandBoss/SemesterGameJam2022.git
synced 2025-11-12 04:16:12 +01:00
delete gitignore files
This commit is contained in:
26
menu/MainMenu.gd
Normal file
26
menu/MainMenu.gd
Normal file
@@ -0,0 +1,26 @@
|
||||
extends Control
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
$VBoxContainer/Start.grab_focus() # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
#func _process(delta):
|
||||
# pass
|
||||
|
||||
|
||||
func _on_start_pressed():
|
||||
get_tree().change_scene_to_file("res://Nodes/game.tscn")
|
||||
# Replace with function body.
|
||||
|
||||
|
||||
func _on_tutorial_pressed():
|
||||
get_tree().change_scene_to_file("res://Nodes/game.tscn") # Replace with function body.
|
||||
|
||||
|
||||
func _on_quit_pressed():
|
||||
get_tree().quit()
|
||||
|
||||
Reference in New Issue
Block a user