Class cc.TransitionSlideInL

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