I have a CCLayerColor with an background image.
I’m trying to FadeOut but nothing happens.
Do I have to inherit from another CCLayer Class maybe. Some that supports images?
This is in my init()
if ( CCLayerColor::initWithColor( ccc4(0,0,0,160)) )
{
CCSprite * bg = CCSprite::create("Images/background.png");
bg->setScale(0.8);
bg->setPosition(ccp(s.width * 0.5f, s.height * 0.5f));
this->addChild(bg);
How could I somehow Fade out so everything in my CCLayer gets faded out?