Health Bar Reduction Scaling

Good Evening doods,

So been working on a project that uses a basic HP Bar only instead of reducing it by Width I want to reduce it by Height, the only problem is the reduction starts at the Bottom not a the Top. How do I change that?


What happens if you either rotate the image 180 degrees or flip it vertically, so it’s upside down?

I vaguely remember doing this at one point. You’ll need an event that keeps the Y position updated right after that scale event.

The math would be something like “YourDesiredLowestYPosition - HPBar.Height()” and that should get the effect you’re looking for.

Hey, thanks for the suggestion. Sorry for the late reply, complete tunnel vision using GDevelop haha