Game Development Reference
In-Depth Information
CCTransitionMoveInL (three more variations): Scene moves out;
new scene moves in at the same time, either from left, right, top, or bot-
tom.
CCTransitionSceneOriented (six variations): A variety of trans-
itions flipping and optionally zooming the whole scene around on one of
its axis.
CCTransitionPageTurn : An effect like turning a page.
CCTransitionProgress (six variations): Like a radar screen that re-
veals the new scene with a radial or axis-aligned wipe animation.
CCTransitionRotoZoom : Scene rotates and gets smaller; new scene
does the reverse.
CCTransitionShrinkGrow : Current scene shrinks; new scene grows
over it.
CCTransitionSlideInL (three more variations): New scene slides
over the current scene, either from left, right, top, or bottom.
CCTransitionSplitCols (one variation): Columns of scene move
up or down to reveal new scene.
CCTransitionTurnOffTiles : Tiles are randomly replaced by tiles
of new scene.
CCLayer
Sometimes you need more than one layer in your scene. In such cases you can add
more CCLayer objects to your scene. One way to do so is directly in the scene
method:
+(id) scene
{
CCScene* scene = [CCScene node];
CCLayer* backgroundLayer = [HelloWorldBackground node];
[scene addChild: backgroundLayer];
Search Nedrilad ::




Custom Search