Hello 3dgs community. I need some help with a health bar code. I am currently stuck and very frustrated with this problem I am having. In short, my heal bar works but it doesnt scale properly. It seems all of the health bar codes are only meant to work with perfectly rectangular bars. However, my health bar is shaped like this...

I suppose I could have a seperate image for every point and use something like...
if(health<=30)
{
use panel 1
}
if(health<60 && health>30)
{
use panel 2
}
etc...
However, I dont want to have to use this method. Isn't there some easier way to achieve a properly functioning health bar that doesn't HAVE to be a rectangle??? In short, I am trying to achieve this...
