博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
【转载】【cocos2dx】特效收集
阅读量:5922 次
发布时间:2019-06-19

本文共 2785 字,大约阅读时间需要 9 分钟。

[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]

转载于:https://www.cnblogs.com/dudu580231/p/5649368.html

你可能感兴趣的文章
“OK, Google” 可以为您的应用服务了
查看>>
零基础深度学习入门:由浅入深理解反向传播算法
查看>>
支持53种语言预训练模型,斯坦福发布全新NLP工具包StanfordNLP
查看>>
Taro实践 - TOPLIFE小程序 开发体验
查看>>
SpringBoot 中 @SpringBootApplication注解背后的三体结构探秘
查看>>
《图解HTTP》——了解web及网络基础
查看>>
iOS汉字转拼音
查看>>
前端工程师的未来在哪里?
查看>>
我不知道你知不知道我知道的伪元素小技巧
查看>>
Android存储(2)-- 适配器存储
查看>>
IntelliJ IDEA使用
查看>>
[译] Node.js 高性能和可扩展应用程序的最佳实践 [第 2/3 部分]
查看>>
python并发编程之协程
查看>>
老司机翻车现场:一个业余程序员组织如何收到滴滴的侵权通知
查看>>
纳尼?我的Gradle build编译只要1s
查看>>
看过上百部片子的这个人教你视频标签算法解析
查看>>
我在菊场这一年
查看>>
用R处理不平衡的数据
查看>>
MCMC和Gibbs Sampling算法
查看>>
antd源码解读(1)-index.js
查看>>