Class cc.TransitionSlideInR

Class Summary
Constructor Attributes Constructor Name and Description
 
Slide in the incoming scene from the right border.

Method Summary

Class Detail

cc.TransitionSlideInR()
Slide in the incoming scene from the right border.

Method Detail

  • {cc.MoveBy} action()
    returns the action that will be performed by the incomming and outgoing scene
    Returns:
    {cc.MoveBy}
  • <static> {cc.TransitionSlideInR} cc.TransitionSlideInR.create(t, scene)
    create Slide in the incoming scene from the right border.
    // Example
    var myTransition = cc.TransitionSlideInR.create(1.5, nextScene)
    Parameters:
    {Number} t
    time in seconds
    {cc.Scene} scene
    Returns:
    {cc.TransitionSlideInR}
  • initScenes()
    initializes the scenes