Class cc.TransitionShrinkGrow
- Defined in: CCTransition.js
- Extends cc.TransitionScene
Constructor Attributes | Constructor Name and Description |
---|---|
Shrink the outgoing scene while grow the incoming scene
|
Method Summary
Class Detail
cc.TransitionShrinkGrow()
Shrink the outgoing scene while grow the incoming scene
Method Detail
-
Shrink the outgoing scene while grow the incoming scene
// Example var myTransition = cc.TransitionShrinkGrow.create(1.5, nextScene)
- Parameters:
- {Number} t
- time in seconds
- {cc.Scene} scene
- Returns:
- {cc.TransitionShrinkGrow}
-
{cc.EaseOut} easeActionWithAction(action)
- Parameters:
- action
- Returns:
- {cc.EaseOut}
-
onEnter()Custom on enter