Class cc.TransitionJumpZoom

Class Summary
Constructor Attributes Constructor Name and Description
 
Zoom out and jump the outgoing scene, and then jump and zoom in the incoming

Method Summary

Class Detail

cc.TransitionJumpZoom(t, scene)
Zoom out and jump the outgoing scene, and then jump and zoom in the incoming
var trans = new cc.TransitionJumpZoom(t, scene);
Parameters:
{Number} t
time in seconds
{cc.Scene} scene

Method Detail

  • <static> {cc.TransitionJumpZoom} cc.TransitionJumpZoom.create(t, scene)
    creates a scene transition that zooms then jump across the screen, the same for the incoming scene
    Parameters:
    {Number} t
    time in seconds
    {cc.Scene} scene
    Deprecated:
    since v3.0,please use new cc.TransitionJumpZoom(t, scene);
    Returns:
    {cc.TransitionJumpZoom}
  • ctor(t, scene)
    Constructor of TransitionJumpZoom
    Parameters:
    {Number} t
    time in seconds
    {cc.Scene} scene
  • onEnter()
    Custom on enter