场景切换特效:
local transition = cc.TransitionCrossFade:create(1,newScene);--时间,场景
local transition = cc.TransitionFade:create(1,newScene);--时间,场景
local transition = cc.TransitionFadeBL:create(1,newScene);--时间,场景
local transition = cc.TransitionFlipX:create(1,newScene);--时间,场景
local transition = cc.TransitionJumpZoom:create(3,newScene);--时间,场景
local transition = cc.TransitionMoveInB:create(2,newScene);--时间,场景
local transition = cc.TransitionPageTurn:create(2,newScene,true);--时间,场景,翻页方式
local transition = cc.TransitionProgressHorizontal:create(2,newScene);--时间,场景
local transition = cc.TransitionProgressRadialCCW:create(2,newScene);--时间,场景
local transition = cc.TransitionShrinkGrow:create(2,newScene);--时间,场景
local transition = cc.TransitionSlideInB:create(2,newScene);--时间,场景
local transition = cc.TransitionSplitCols:create(2,newScene);--时间,场景
local transition = cc.TransitionZoomFlipAngular:create(2,newScene);--时间,场景
cc.Director:getInstance():replaceScene(transition);