Reusable healthbar component

After a week of my RTX 2080 Ti GPU corruption, Marcos was kind enough to lend me his gpu so i can get my PC back on track. I finished up the reusable healthbar component, based on this tutorial.

ezgif.com-gif-maker (16).gif

There are several new things i learnt:

  • actor component are quite neat to create so that i can just attach a bunch of behaviours to different actors

  • this also makes the component reusable over different scenarios, I think i can build in something to collect when the player destroys an actor on the scene

  • you can set timer by function, and c

I will probably be using this for the player to destroy obstacles.

Next steps

  • I’m going to start implementing the hydration and hunger meter from this tutorial

  • Probably should model a few things that I can collect resources on.