Dear Brothers,
How can I add RepeatForever in the below code and make the sprite repeat forever? Thanks..
Animation* animation = [Animation animationWithName:@"dance" delay:0.2f];
for( int i=1;i<2;i++)
for( int i=1;i<15;i++)
[animation addFrameWithFilename: [NSString stringWithFormat:@"grossini_dance_%02d.png", i]];
id action = [Animate actionWithAnimation: animation];
[grossini runAction:action];