Circled-shaped HP bar with alpha mask

Oh common think a bit. All you need to do is feed parameter that rotates from 180 to 360, that is easiest solution.