zoukankan      html  css  js  c++  java
  • 【转载】【cocos2dx】特效收集

    [mw_shl_code=cpp,true] //3D晃动的特效 
    //CCActionInterval* shaky3D = CCShaky3D::create(5, CCSize(10, 10), 15, false); 
    //pSprite->runAction(shaky3D); 

    //3D瓷砖晃动特效 
    //CCActionInterval* shakyTiles3D = CCShakyTiles3D::create(5, CCSize(10, 10), 5, false); 
    //pSprite->runAction(shakyTiles3D); 

    //波动特效 
    //CCActionInterval* waves = CCWaves::create(5, CCSize(10, 10), 10, 20, true, true); 
    //pSprite->runAction(waves); 

    //3D波动特效 
    //CCActionInterval* waves3D = CCWaves3D::create(5, CCSize(10, 10), 10, 20); 
    //pSprite->runAction(waves3D); 

    //3D瓷砖波动特效 
    //CCActionInterval* wavesTiles3D = CCWavesTiles3D::create(5, CCSize(10, 10), 10, 20); 
    //pSprite->runAction(wavesTiles3D); 

    //X轴 3D反转特效 
    //CCActionInterval* filpX = CCFlipX3D::create(5); 
    //pSprite->runAction(filpX); 

    //Y轴3D反转特效 
    //CCActionInterval* filpY = CCFlipY3D::create(5); 
    //pSprite->runAction(filpY); 

    //凸透镜特效 
    //CCActionInterval* lens = CCLens3D::create(2, CCSize(10, 10),CCPointMake(240, 160), 240); 
    //pSprite->runAction(lens); 

    //水波纹特效 
    //CCActionInterval* ripple = CCRipple3D::create(5, CCSize(10, 10), CCPointMake(240, 160), 240, 4, 160); 
    //pSprite->runAction(ripple); 

    //液体特效 
    //CCActionInterval* liquid = CCLiquid::create(6, CCSize(10, 10), 4, 20); 
    //pSprite->runAction(liquid); 

    //扭曲旋转特效 
    //CCActionInterval* twirl = CCTwirl::create(50, CCSize(10, 10), CCPointMake(240, 160), 2, 2.5); 
    //pSprite->runAction(twirl); 

    //破碎的3D瓷砖特效 
    //CCActionInterval* shatteredTiles = CCShatteredTiles3D::create(15, CCSize(10, 10), 50, true); 
    //pSprite->runAction(shatteredTiles); 

    //瓷砖洗牌特效 
    //CCActionInterval* shuffle = CCShuffleTiles::create(5, CCSize(50, 50), 50); 
    //pSprite->runAction(shuffle); 

    //部落格效果,从左下角到右上角 
    //CCActionInterval* fadeOutTRTiles = CCFadeOutTRTiles::create(5, CCSize(50, 50)); 
    //pSprite->runAction(fadeOutTRTiles); 

    //部落格效果,从右上角到左下角 
    //CCActionInterval* fadeOutBLTiles = CCFadeOutBLTiles::create(5, CCSize(50, 50)); 
    //pSprite->runAction(fadeOutBLTiles); 

    //折叠效果 从下到上 
    //CCActionInterval* fadeOutUpTiles = CCFadeOutUpTiles::create(5, CCSize(10, 10)); 
    //pSprite->runAction(fadeOutUpTiles); 

    //折叠效果,从上到下 
    //CCActionInterval* fadeOutDownTiles = CCFadeOutDownTiles::create(4, CCSize(20, 50)); 
    //pSprite->runAction(fadeOutDownTiles); 

    //方块消失特效 
    //CCActionInterval* turnOffFiels = CCTurnOffTiles::create(4, CCSize(50, 50)); 
    //pSprite->runAction(turnOffFiels); 

    //跳动的方块特效 
    //CCActionInterval* jumpTiles = CCJumpTiles3D::create(5, CCSize(20, 20), 5, 20); 
    //pSprite->runAction(jumpTiles); 

    //分多行消失特效 
    //CCActionInterval* splitCols = CCSplitCols::create(5, 50); 
    //pSprite->runAction(splitCols); 

    //分多列消失特效 
    //CCActionInterval* splitRows = CCSplitRows::create(5, 50); 
    //pSprite->runAction(splitRows); 

    //3D翻页特效 
    //CCActionInterval* pageTurn3D = CCPageTurn3D::create(4, CCSize(20, 20)); 
    //pSprite->runAction(pageTurn3D); [/mw_shl_code]

  • 相关阅读:
    jquery 选择器总结
    jQuery 添加元素和删除元素
    jQuery 操作
    jquery 事件
    jQuery对象与DOM对象
    jquery 在页面中三种写法
    CSS3制作立体导航
    开发常用技巧之css字体编码
    c语言快速入门3
    c语言快速入门2
  • 原文地址:https://www.cnblogs.com/dudu580231/p/5649368.html
Copyright © 2011-2022 走看看