Files
gaim/hud.gd
T

15 lines
349 B
GDScript

extends CanvasLayer
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass #$CoinsLabel.text = str(0)
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func _on_battery_collected() -> void:
$BatteryCounter.text = str(Global.batteries)