HP Progress Bar

The HP progress bar needed to represent the players health points. This was done by making the bar a red color. Generally in games a red bar indicates the players health. Players are already wired to see red progress bars be a health bar from multiple different game genres, so it just made sense to make our players health bar red as well.

I used the widget blueprint within unreal engine to link the now set up progress bar to the players HP value on the player blueprint. This was done by getting a reference to the player character and adjusting the percentage of the progress bar depending on the players health. Within Gears of discovery the player has 100 HP just to make things simple. When the player takes 10 points of hit damage the widget blueprint sees the change in the player health value, which is now 90, and divides that by 100 to get 0.9. This value is the percentage in which the bar should be displaying. So if the player now has 90 HP the HP Progress Bar is updated to be 90% full.

Previous
Previous

Progress Bar Empty

Next
Next

Stamina Progress Bar