Class cc.TransitionZoomFlipX
- Defined in: CCTransition.js
- Extends cc.TransitionSceneOriented
Constructor Attributes | Constructor Name and Description |
---|---|
Flips the screen horizontally doing a zoom out/in
The front face is the outgoing scene and the back face is the incoming scene. |
Method Summary
Class Detail
cc.TransitionZoomFlipX()
Flips the screen horizontally doing a zoom 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 horizontally doing a zoom out/in
The front face is the outgoing scene and the back face is the incoming scene.// Example var myTransition = cc.TransitionZoomFlipX.create(1.5, nextScene)//default is cc.TRANSITION_ORIENTATION_RIGHT_OVER //OR var myTransition = cc.TransitionZoomFlipX.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.TransitionZoomFlipX}
-
onEnter()custom on enter