Hi,
you can clip and move images on panels with windows (pan_setwindow). You only have to calculate the new window position and width each time the health changes.

Salud!