Class cc.TransitionScene

Class Summary
Constructor Attributes Constructor Name and Description
 

Method Summary

Class Detail

cc.TransitionScene()

Method Detail

  • cleanup()
    custom cleanup
  • <static> {cc.TransitionScene|Null} cc.TransitionScene.create(t, scene)
    creates a base transition with duration and incoming scene
    Parameters:
    {Number} t
    time in seconds
    {cc.Scene} scene
    the scene to transit with
    Returns:
    {cc.TransitionScene|Null}
  • draw()
    stuff gets drawn here
  • finish()
    called after the transition finishes
  • hideOutShowIn()
    set hide the out scene and show in scene
  • {Boolean} initWithDuration(t, scene)
    initializes a transition with duration and incoming scene
    Parameters:
    {Number} t
    time in seconds
    {cc.Scene} scene
    a scene to transit to
    Returns:
    {Boolean} return false if error
  • onEnter()
    custom onEnter
  • onExit()
    custom onExit