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