I'm currently confused on how to make HP/MP/Etc Bars similar to fighting games. Like for example, when an enemy hits the player, the HP bar will slowly resize to its designated point. In other words, if I have a bar at 100%, and an enemy hits me, which decreases my HP to 80%, the HP bar should slowly resize until the 100% bar arrives at 80%.
Unlike in the platform school where HP is changed using different animation frames of the Heart Image, I'm not sure if I can use that principle in this one. Help anyone? Thanks in advance!