cocos2d-objc icon indicating copy to clipboard operation
cocos2d-objc copied to clipboard

Stuck in adding Ripple effect on an image with CCSpriteGrid extension.

Open mdsVibhor opened this issue 8 years ago • 1 comments

Is there any way to get ripple effect on image in Objective C ios Application. I am using cocos2d-objc framework for ios application.

UIImage *spriteNumber = [UIImage imageNamed:@"congrats.png"]; CCSpriteGrid *grid = [[CCSpriteGrid alloc] initWithTexture:[[CCTexture alloc] initWithCGImage:spriteNumber.CGImage contentScale:spriteNumber.scale]]; grid.position = (CGPoint){0.5, 0.25}; grid.positionType = CCPositionTypeNormalized; [grid setGridWidth:100 andHeight:50]; [self addChild:grid];

mdsVibhor avatar Jul 06 '17 06:07 mdsVibhor

I think you should open this issue in cocos2d classic

s1ddok avatar Jul 06 '17 11:07 s1ddok