Hello!
I’m about to build a health bar for a game I’m building, and have a rough idea of what I should/can do, but wanted to see if there might be a better/easier way.
My idea is using a clipping mask, so that I have one mask, and a rectangle that would move horizontal as the health goes up and down. Which would make the rectangle hide the part that is overflowing, thus making it look like the life-meter is smaller or full depending on life-stats
Something similar to this link:
Can that be considered an idea to be good enough, or are there better known ways to accomplish a health bar?