Class cc.TransitionShrinkGrow

Class Summary
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

  • <static> {cc.TransitionShrinkGrow} cc.TransitionShrinkGrow.create(t, scene)
    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