It make sprite from RGB to grayscale.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
TextureMotify.xcodeproj
TextureMotify
.gitignore
README.md

README.md

it makes a CCSprite from a RGB to grayscale easily.

#How To Use

CCSprite  *animationSprite =[CCSprite spriteWithFile:@"Icon.png"];
[self addChild:animationSprite];
animationSprite.position = ccp(100, 200);


/***as far as now, just support for CCSprite***/
CCFadeToGrayAction * fadeOut = [CCFadeToGrayAction actionWithDuration:3.0];
[animationSprite runAction:fadeOut];

#TODO it's a little strange that if make many times grayscale animation for one sprite.