cocos2d-iphone  2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Defines
CCTransitionPageTurn Class Reference

#import <CCTransitionPageTurn.h>

+ Inheritance diagram for CCTransitionPageTurn:
+ Collaboration diagram for CCTransitionPageTurn:

List of all members.

Public Member Functions

(id) - initWithDuration:scene:backwards:
(CCActionInterval *) - actionWithSize:

Static Public Member Functions

(id) + transitionWithDuration:scene:backwards:

Protected Attributes

BOOL _back

Detailed Description

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];

Since:
v0.8.2

Member Function Documentation

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

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 

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


The documentation for this class was generated from the following file: