CCPageTurnTransition Class Reference
Inherits from | CCTransitionScene : CCScene : CCNode : NSObject |
Declared in | CCPageTurnTransition.h |
Overview
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’s strongly recommended that depth buffering is turned on in CCDirector using:
[[CCDirector sharedDirector] setDepthBufferFormat:kDepthBuffer16];
Tasks
-
+ 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
-
– 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
-
– actionWithSize:
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
CCPageTurnTransition.h
Instance Methods
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
CCPageTurnTransition.h