14 lines
336 B
GDScript
14 lines
336 B
GDScript
extends Label
|
|
|
|
@onready var map = get_tree().current_scene.get_node("TileMap")
|
|
|
|
# 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
|