I have an HP bar. It needs to decrease in width, so I use xScale.
However, it shrinks about the middle. I’ve tried everything, from setting the reference point to left, to doing a lot of math to understand what is going on.
One of the primary issues I’m having is that I can’t get the value of the left edge of the image using image.x - image.width/2, given image.x is the center.
Image.x and image.width does NOT change after an xScale. So I have no idea of using math to make a workaround.