I had this working completely fine, I tried to adjust some things and now it won't even play. Not sure what the issue is, but I can't see anything wrong with my code. Hopefully somebody else can or has at least experienced something like this before.
Here is my code:
'
//holder for animation to run in
Sprite * holder = [[Sprite alloc] initWithFile:@"aurora0010.png"];
holder.transformAnchor = ccp(240,320);
[holder setPosition:ccp(240,320)];
[self addChild:holder z:2 tag:99];
//animation creation
Animation * next = [[Animation alloc] initWithName:@"next" delay:0.1];
for(int i = 10; i <= 110; i++){
NSLog(@"add frame");
[next addFrameWithFilename:[NSString stringWithFormat:@"aurora%04d.png", i]];
i++;
i++;
//i++s are because I removed every 2nd and 3rd frame to use way less memory
}
//run that shit
id animate = [Animate actionWithAnimation:next];
[holder runAction:animate];
The holder sprite is shown on the screen with the initial image of the animation, but nothing happens after that.