Hey guys, I feel a little dumb posting this as I feel I should of figured this out already, but I am making a exp bar and it is giving me pains. I have it positioned properly and the formula for length is correct, just one problem. It fills up the wrong way.
Here is a pitcture:
It is cropped so the borders look weird. (sorry c:)
Here is the formula I am using:
surface.DrawRect(354, ScrH()/1.155, 50 ,139.5*(XPCurrent)/(XPNext))