Using Tweener, I’m scaling a rectangular Sprite with a 3 pixel outline.
I want to only scale in the x-direction, meaning it gets thinner but not shorter. BUT, while the Sprite gets thinner, I don’t want the outline to get thinner using the same lineStyle.
I assume that to do this I would use the onUpdate param to continually execute the function that draws the Sprite, so that it draws it thinner and thinner. But I don’t know what to pass in the onUpdateParams.
Thoughts?
Or is this a bad use of tweening and I should just use a timer?
Thank you!