Here are the screenshot for my set up
Hi, what do you mean with this? Do you want the health bar to show ON the player instead of, at the corner like your example? Do you want this to happen all the time or only when the knight takes a hit?
Only when my knight takes hit, and yeah i want the healthbar to be on the player when i get hit instead of in the corner
1 - Knight HP is NOT 100% then always show healthbar above knight
2 - Whenever knight get hit show healthbar above knight for few secs then make it disappear
?
I’ll try that and see how it goes
I tried but it didnt work and a few other things too but they didn’t work aswell.
Tbh tho i do think it looks ok on second thought while previewing the game, i moved it at the center and looks fine.
Still thanks for helping, i appreciate it.
Hey so I tried something quick in like 5-10 minutes.
I put the below objects
Knight has the Platformers and Health Behaviors.
The lifebar has the STICK behavior
Then added the below events
You can change the coordinates of the health bar to change the position of the health bar better but.I believe it should be fine for start.
Here is the link of the file If you want to give it a closer look
Oh cool! Thanks a bunch honestly!