ld55/src3/HUD/hud.gd

13 lines
234 B
GDScript
Raw Permalink Normal View History

2024-04-14 15:43:40 +00:00
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 = ""