![]() |
cocos2d-iphone
2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
|
#import <CCTransitionPageTurn.h>
Public Member Functions | |
(id) | - initWithDuration:scene:backwards: |
(CCActionInterval *) | - actionWithSize: |
Static Public Member Functions | |
(id) | + transitionWithDuration:scene:backwards: |
Protected Attributes | |
BOOL | _back |
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];
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
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