I have an animated progress bar in my game. The animation play endlessly and I want to be able to change the content size of the sprite so it will show the progress bar moving while the animation still playing.
I trying to use sprite.setcontentSize(…) but it seems to have no effect on sprite playing an animation via action.
Also, Anchor point seems to always be 0.5 no matter if I try to change it.
Is there any way around it?