7 lines
227 B
GDScript
7 lines
227 B
GDScript
extends Node2D
|
|
|
|
func _process(delta):
|
|
$UI/TimeLeft.text = "Time left: " + str($Timer.time_left)
|
|
$UI/Points.text = "Points: " + str(Utils.points)
|
|
if ($Timer.time_left == 0):
|
|
get_tree().change_scene("res://Scenes/End.tscn")
|