Class cc.TransitionSlideInL
- Defined in: CCTransition.js
- Extends cc.TransitionScene
Constructor Attributes | Constructor Name and Description |
---|---|
a transition that a new scene is slided from left
|
Method Summary
Class Detail
cc.TransitionSlideInL()
a transition that a new scene is slided from left
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
// Example var myTransition = cc.TransitionSlideInL.create(1.5, nextScene)
- Parameters:
- {Number} t
- time in seconds
- {cc.Scene} scene
- Returns:
- {cc.TransitionSlideInL}
-
{*} easeActionWithAction(action)
- Parameters:
- {cc.ActionInterval} action
- Returns:
- {*}
-
initScenes()initializes the scenes
-
onEnter()custom on enter