fastRunner/hud.gd

14 lines
336 B
GDScript
Raw Normal View History

2024-02-22 20:33:20 -05:00
extends Label
2024-02-28 20:21:50 -05:00
@onready var map = get_tree().current_scene.get_node("TileMap")
2024-02-22 20:33:20 -05:00
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(_delta):
set_text(str(NewScript.score))
pass