About 'Finishing the Tutorial'!

In this video (objectives)…

1 Adding text to objectives in the tutorial 2 Using a JSON file to update the objectives

After watching (learning outcomes)…

Finish the tutorial by revisiting JSON files

(Unique Video Reference: 36_HM_GDT)

We would love to know…

  • What you found good about this lecture?
  • What we could do better?

Remember that you can reply to this topic, or create a new topic. The easiest way to create a new topic is to follow the link in Resources. That way the topic will…

  • Be in the correct forum (for the course).
  • Be in the right sub-forum (for the section)
  • Have the correct lecture tag.

Enjoy your stay in our thriving community!

func move_objective_pointer():
	var pointer = $ObjectivePointer
	var marker = $ObjectiveMarkers.get_child(0)
	pointer.position = marker.position
	$Tween.interpolate_property(pointer, "position", pointer.position, marker.position,
			0.8, Tween.TRANS_SINE, Tween.EASE_OUT_IN)
	$Tween.start()
	$ObjectiveMarkers.remove_child(marker)
	$TutorialGui/Popup/Label.text = text[str(child_number)]
	child_number += 1
	if(child_number == 4):
		DarkVision_mode()

Capture Capture3

Basically the same. My solution to the challenge. I’ve changed the offset for the LIght2d by 320px. That way the light shadow behaves a little better.

Privacy & Terms