cocos2d for iPhone 1.0.0
2D engine for iOS and OS X
Public Member Functions | Static Public Member Functions
CCTransitionPageTurn Class Reference

#import <CCTransitionPageTurn.h>

Inheritance diagram for CCTransitionPageTurn:
Inheritance graph
[legend]
Collaboration diagram for CCTransitionPageTurn:
Collaboration graph
[legend]

List of all members.

Public Member Functions

(id) - initWithDuration:scene:backwards:

Static Public Member Functions

(id) + transitionWithDuration:scene:backwards:

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's strongly recommended that depth buffering is turned on in CCDirector using:

[[CCDirector sharedDirector] setDepthBufferFormat:kCCDepthBuffer16];

Since:
v0.8.2

Definition at line 40 of file CCTransitionPageTurn.h.


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:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Defines

cocos2d for iPhone API Reference - Generated using Doxygen 1.7.4