Class cc.TransitionZoomFlipY
- Defined in: CCTransition.js
- Extends cc.TransitionSceneOriented
Constructor Attributes | Constructor Name and Description |
---|---|
Flips the screen vertically doing a little zooming out/in
The front face is the outgoing scene and the back face is the incoming scene. |
Method Summary
Class Detail
cc.TransitionZoomFlipY()
Flips the screen vertically doing a little zooming out/in
The front face is the outgoing scene and the back face is the incoming scene.
The front face is the outgoing scene and the back face is the incoming scene.
Method Detail
-
Flips the screen vertically doing a little zooming out/in
The front face is the outgoing scene and the back face is the incoming scene.// Example var myTransition = cc.TransitionZoomFlipY.create(1.5, nextScene)//default is cc.TRANSITION_ORIENTATION_UP_OVER //OR var myTransition = cc.TransitionZoomFlipY.create(1.5, nextScene, cc.TRANSITION_ORIENTATION_DOWN_OVER)
- Parameters:
- {Number} t
- time in seconds
- {cc.Scene} scene
- {cc.TRANSITION_ORIENTATION_LEFT_OVER|cc.TRANSITION_ORIENTATION_RIGHT_OVER|cc.TRANSITION_ORIENTATION_UP_OVER|cc.TRANSITION_ORIENTATION_DOWN_OVER} o
- Returns:
- {cc.TransitionZoomFlipY}
-
onEnter()custom on enter