Class cc.TransitionSlideInL
- Defined in: CCTransition.js
- Extends cc.TransitionScene
Constructor Attributes | Constructor Name and Description |
---|---|
cc.TransitionSlideInL(t, scene)
a transition that a new scene is slided from left
|
Method Summary
Class Detail
cc.TransitionSlideInL(t, scene)
a transition that a new scene is slided from left
var trans = cc.TransitionSlideInL(time,scene);
- Parameters:
- {Number} t
- time in seconds
- {cc.Scene} scene
Method Detail
-
{cc.MoveBy} action()returns the action that will be performed by the incomming and outgoing scene
- Returns:
- {cc.MoveBy}
-
create a transition that a new scene is slided from left
- Parameters:
- {Number} t
- time in seconds
- {cc.Scene} scene
- Deprecated:
- since v3.0,please use new cc.TransitionSlideInL(t, scene) instead
- Returns:
- {cc.TransitionSlideInL}
-
ctor(t, scene)Constructor of TransitionSlideInL
- Parameters:
- {Number} t
- time in seconds
- {cc.Scene} scene
-
{*} easeActionWithAction(action)
- Parameters:
- {cc.ActionInterval} action
- Returns:
- {*}
-
initScenes()initializes the scenes
-
onEnter()custom on enter