13 lines
234 B
GDScript
13 lines
234 B
GDScript
|
extends Control
|
||
|
|
||
|
func _ready():
|
||
|
pass
|
||
|
|
||
|
func _process(_delta):
|
||
|
if Gstate.time > -1:
|
||
|
if not Gstate.waiting:
|
||
|
get_node('%TimeLabel').text = "TIME LEFT: " + str(1 + floor(Gstate.time))
|
||
|
else:
|
||
|
get_node('%TimeLabel').text = ""
|
||
|
|