Files
JumpRopeOldTech/objectives_label.gd
T

9 lines
288 B
GDScript

extends RichTextLabel
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
var new_text = "OBJECTIVES:\n"
for objective in %Player2D.objectives:
new_text = new_text + %Player2D.objectives[objective] + "\n"
text = new_text