动作-CCActionInterval之CCGridAction家族

CCGrid3DAction

// 作用:x3D反转特效

CCActionInterval *flipX3D= CCFlipX3D::create(4);

//    作用:Y3D反转特效

CCActionInterval * flipY3D = CCFlipY3D::create(4);  


// 作用: 凸镜特效

CCActionInterval * lens3D= CCLens3D::create(4, CCSizeMake(15, 10), CCPointMake(size.width/2, size.height/2), 240);   

//作用:液体特效

CCActionInterval * liquid = CCLiquid::create(4, CCSizeMake(16, 12), 4, 20);

//作用:3D翻页特效

CCActionInterval * pageTurn3D =CCPageTurn3D::create(3, CCSizeMake(15, 10));

//作用:水波特效

CCActionInterval * ripple3D= CCRipple3D::create(4, CCSizeMake(15,10), CCPointMake(size.width/2, size.height/2), 4, 4, 160);

//作用:创建一个3d晃动的特效

CCActionInterval * shaky3D= CCShaky3D::create(4, CCSizeMake(15, 10), 15, false);

//    作用:扭曲旋转特效

CCActionInterval * twirl = CCTwirl::create(3, CCSizeMake(12, 8), CCPointMake(size.width/2, size.height/2), 2, 2.5f);   

//创建一个波动特效

CCActionInterval * waves = CCWaves::create(4, CCSizeMake(16, 12), 10, 20, true, true);

//    创建一个3D波动特效

CCActionInterval * waves3d= CCWaves3D::create(4, CCSizeMake(16, 12), 10, 20);


CCTiledGrid3DAction

//    作用:部落格效果 从左下角到右下角

  CCActionInterval * fadeOutTRTiles = CCFadeOutTRTiles::create(3, CCSizeMake(16, 12));

//    作用:部落格效果 从右下角到左下角

  CCActionInterval * fadeOutBLTiles = CCFadeOutBLTiles::create(3, CCSizeMake(16, 12));

//    作用:折叠效果 从下到上

            CCActionInterval * fadeOutUpTiles = CCFadeOutUpTiles::create(3, CCSizeMake(16, 12));  

//    作用:折叠效果 从上到下

            CCActionInterval * fadeOutDownTiles =CCFadeOutDownTiles::create(3, CCSizeMake(16, 12));


//    作用:跳动的方格特效

  CCActionInterval * jumpTiles3D = CCJumpTiles3D::create(2, CCSizeMake(15, 10), 1, 30);

//    作用:创建一个3d瓷砖晃动的特效

            CCActionInterval * shakyTiles3D = CCShakyTiles3D::create(4, CCSizeMake(15, 10), 15, true);  

//    作用:破碎的3D瓷砖特效

  CCActionInterval * shatteredTiles3D= CCShatteredTiles3D::       

          

     

  

     

            

           

原文地址:https://www.cnblogs.com/yssgyw/p/3430317.html