Hello!
I'm here to ask a question.
Let's say i have this code:
CCSprite *sprite = [CCSprite spriteWithFile:@"animation1.png"];
[self addChild:sprite];
CCAnimation *animation = [CCAnimation animation];
[animation addFrameWithFilename:@"animation2.png"];
[animation addFrameWithFilename:@"animation3.png"];
[animation addFrameWithFilename:@"animation4.png"];
id animationAction = [CCAnimate actionWithDuration:0.5f animation:animation restoreOriginalFrame:YES];
id repeatAnimation = [CCRepeatForever actionWithAction:animationAction];
[animation runAction:repeatAnimation];
If I want to change the size of the whole thing, do I have to change every frame's size?
I tried to change the scale by setScaleX, but it doesn't work :(