cooking
This commit is contained in:
parent
b94ff6acde
commit
264a43932c
31 changed files with 435 additions and 39 deletions
|
|
@ -2,11 +2,13 @@ extends Control
|
|||
|
||||
var credits_shown : bool = false
|
||||
|
||||
@export var show_smash : bool = false
|
||||
@export var level_node : Control
|
||||
@export var credits_node : Control
|
||||
@export var credits_button : Button
|
||||
@export var levels_vbox : VBoxContainer
|
||||
@export var exit_button : Button
|
||||
@export var smash_con_panel : PanelContainer
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
|
|
@ -24,6 +26,7 @@ func _ready():
|
|||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta):
|
||||
smash_con_panel.visible = show_smash
|
||||
if credits_shown:
|
||||
credits_node.visible = true
|
||||
level_node.visible = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue