Hey, I'm having some issues with creating an animated health bar.
Basically what I want to create is a health bar with an undefined amount of lives, like a 'Horizontal bar' or 'Vertical bar' counter. A bar that shows your percentage of health.
However, I want this health bar to have an animation that plays constantly. It's easier to explain with an illustration so here's an example to show what I mean.
Please login to see this picture.
The full health bar has an animation of 6 frames.
The empty health bar has an animation of 6 frames as well.
The full health bar should become invisible the more health you lose, from top to bottom.
This way, a player who has for example 78 max health and a player who has 193 max health can both use the same health bar and still see exactly how much percent health they have left.
Right now I'm using an Active Object for the frames of the empty health bar, so I actually just need a way to make an animated object that gradually disappears from top to bottom based on the percentage of a counter's current value to its max value. But how can I do this?