When I try to apply GridAction effect for AtlasSprite object it's nothing to occur.
For example:
AtlasSpriteManager *mgr = [AtlasSpriteManager spriteManagerWithFile:@"Cards.png" capacity:cardsInDeck];
[self addChild:mgr z:0 ];
AtlasSprite *atlasSprite = [AtlasSprite spriteWithRect:CGRectMake(0,0,44,60) spriteManager:mgr];
[atlasSprite setPosition:CGPointMake(200,200)];
[mgr addChild:sprite z:0];
[atlasSprite runAction:[RotateBy actionWithDuration:2 angle:360]];
id waves = [Waves actionWithWaves:5 amplitude:20 horizontal:YES vertical:NO grid:ccg(15,10) duration:5];
[sprite runAction: [RepeatForever actionWithAction: waves]];
RotateBy is successfully executed, but Waves doesn't give any effect.
On the other hand when I call these actions for Sprite, all actions are executed:
Sprite* sprite = [Sprite spriteWithFile:@"cardBack.png"];
[sprite setPosition:CGPointMake(200,200)];
[self addChild:temp z:0];
[temp runAction:[RotateBy actionWithDuration:2 angle:360]];
id waves = [Waves actionWithWaves:5 amplitude:20 horizontal:YES vertical:NO grid:ccg(15,10) duration:5];
[sprite runAction: [RepeatForever actionWithAction: waves]];
What's the reason?