About 'Adding Lives - The GUI'!

In this video (objectives)…

1 Create a GUI 2 Display player lives 3 Show how long before the next piece of ammo is collected

After watching (learning outcomes)…

Displaying how long we have left to wait in a TextureProgress node

(Unique Video Reference: 21_FF_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!

Hello Yann,

around 14.52 you call update_lives() is the hurt method of character.gd, but it is undefined in the character class (it is visible from the method list on the left side).

You dont get any error, but i do, and i solved it adding a definition of update_lives() and just passing.
It seems the the new definition in player.gd ovrewrite it (like a virtual method more or less).
Is this the proper way to do it?

Privacy & Terms