Inherits from CCTransitionScene : CCScene : CCNode : NSObject
Declared in CCTransition.h

Overview

CCTransitionFade: Fade out the outgoing scene and then fade in the incoming scene.‘’'

Tasks

Class Methods

transitionWithDuration:scene:withColor:

creates the transition with a duration and with an RGB color Example: [FadeTransition transitionWithDuration:2 scene:s withColor:ccc3(255,0,0)]; // red color

+ (id)transitionWithDuration:(ccTime)duration scene:(CCScene *)scene withColor:(ccColor3B)color

Declared In

CCTransition.h

Instance Methods

initWithDuration:scene:withColor:

initializes the transition with a duration and with an RGB color

- (id)initWithDuration:(ccTime)duration scene:(CCScene *)scene withColor:(ccColor3B)color

Declared In

CCTransition.h