What is the best technique to scale a sprite to an exact size. The scale property is a multiplier, but if you want a sprite to be exactly X pixels wide, is there a simple te
You can use these two properties : scaleX and scaleY . for example, use in a HP Bar.
hpBarSprite.scaleX = hpCurrent / hpMax ;