Health bar functionalities


Author:  Taylor Gailfoil

Posted on: 2/9/2024


The only thing that I have a problem with this week is that the health bar doesn't auto update with the data from the health system to update the player what their health is when they get hit. Currently what happens is that the enemy hits the player and there is a debug message that pops up in order to let us know that the health system has been implemented correctly and the player is at least taking damage even though its not shown yet.

All that I need to do to fix this would be to update the health bar so the fill percentage is derived from the health component, which we already know is updating when the player gets hit, so that the players health can be shown to and understood by the player.

Leave a comment

Log in with itch.io to leave a comment.