wea re cooking 🔥
This commit is contained in:
parent
2b90112231
commit
34eb42616d
25 changed files with 247 additions and 77 deletions
21
menu/menu.gd
Normal file
21
menu/menu.gd
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
extends Control
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
|
||||
|
||||
func _on_intro_button_pressed() -> void:
|
||||
GameManager.are_we_skipping_intro = false
|
||||
get_tree().change_scene_to_file("res://game_scene.tscn")
|
||||
|
||||
|
||||
func _on_skip_button_pressed() -> void:
|
||||
GameManager.are_we_skipping_intro = true
|
||||
get_tree().change_scene_to_file("res://game_scene.tscn")
|
||||
Loading…
Add table
Add a link
Reference in a new issue