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

Overview

CCTransitionPageTurn transition. A transition which peels back the bottom right hand corner of a scene to transition to the scene beneath it simulating a page turn

This uses a 3DAction so it is strongly recommended that depth buffering is turned on in CCDirector using:

[[CCDirector sharedDirector] setDepthBufferFormat:kCCDepthBuffer16];

Tasks

Class Methods

transitionWithDuration:scene:backwards:

creates a base transition with duration and incoming scene if back is TRUE then the effect is reversed to appear as if the incoming scene is being turned from left over the outgoing scene

+ (id)transitionWithDuration:(ccTime)t scene:(CCScene *)s backwards:(BOOL)back

Declared In

CCTransitionPageTurn.h

Instance Methods

actionWithSize:

initWithDuration:scene:backwards:

creates a base transition with duration and incoming scene if back is TRUE then the effect is reversed to appear as if the incoming scene is being turned from left over the outgoing scene

- (id)initWithDuration:(ccTime)t scene:(CCScene *)s backwards:(BOOL)back

Declared In

CCTransitionPageTurn.h