Download

How to create "hit points" for the player character?

So I used the 2D Sidescroller Example Template that came with UE4 and I would like to use it to build a Metroid type of game. How do I create “hit points” or “health” for the character and then attach that to a visual bar or visual number on the screen that is always shown? I am very new to all of this but I have used the Epic Games video tutorials a little and I have a basic understanding of C++.

Thanks in advance for any help guys!

Sinistradian

Check out these videos from Tesla Dev:
https://youtube.com/watch?v=M7w9OfPRpKMhttps://www.youtube.com/watch?v=2U_Y2SxfXr8

You can use widgets how you need. I used them to create floating text for damage readings.