I'm trying my hand at creating a custom UI and I've hit a snag.
I have a status bar texture that's currently defined at 1024x128. The actual part of the image that's being used is approximately 550x90.
Unfortunately, the status bar is using the entire 1024 width to represent health changes. This means that the visible bar doesn't move until the player is at roughly 70% health and is empty when the character has 20% or less.
Is there any way to constrain the status bar health to a given area or am I stuck researching a different way to solve this problem?