Files
JumpRopeOldTech/objectives_label.gd
T
2026-10-17 22:26:36 -05:00

9 lines
280 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.get_current_objectives():
new_text = new_text + objective + "\n"
text = new_text