This commit is contained in:
Clevertop 2024-08-10 17:20:39 +10:00
parent fada7c657b
commit 685d9642dc
3 changed files with 8 additions and 1 deletions

View file

@ -7,6 +7,7 @@ signal broadcast(command : String)
@export var level_tick : float = 1 # how often to run a command
@export var level_time : float = 10 # the amoutn of time allowed for the level
@export var commands : Array[String]
@export_group("Node References")
@export var gui : Control

View file

@ -3,8 +3,10 @@ extends Control
@export_group("Node References")
@export var terminal_panel : Control
# Called when the node enters the scene tree for the first time.
func _ready():
terminal_panel.visible = false
pass # Replace with function body.
@ -12,6 +14,7 @@ func _ready():
func _process(delta):
pass
func close_terminal():
terminal_panel.visible = false
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED