Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
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.

About

It make sprite from RGB to grayscale.

Resources

Releases

No releases published

Packages

No packages published

Languages