Track each individual disk and ensure they are loaded in order. Player can collect multiple disks in one run but must present them to the pharaoh in order.
9 lines
281 B
GDScript
9 lines
281 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]
|
|
text = new_text
|