To deplete a health bar, i’m using:
function update(self, dt)
go.animate("#sprite", “scale.x”, go.PLAYBACK_ONCE_FORWARD, boss_health/250, go.EASING_LINEAR, 0)
end
The health bar works fine for 95% of the way, but at the final stretch, it seems to suddenly become partially transparent and it stretches in the y direction. Why is this?