cocos2dx中使用粒子特效

// 添加特效

CCParticleSystemQuad* pSystem=CCParticleSystemQuad::create(“test2.plist”);

//pSystem->setBlendAdditive(true);

// pSystem->setPosition(CCPointMake(50, 50));

addChild(pSystem);

pSystem->setAutoRemoveOnFinish(true);

粒子特效可以使用particle desinger来编辑。价格也不贵,才100块钱。

发表评论?

0 条评论。

发表评论


注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>