下载particle designer,随便选一个,倒出为plist,放到工程资源目录

 

下面3句代码搞定

    CCParticleSystemQuad *particle = CCParticleSystemQuad::create("test.plist");

    particle->setPosition(ccp(size.width/2,size.height/2));

    this->addChild(particle);

相关文章:

  • 2021-09-13
  • 2022-12-23
  • 2022-12-23
  • 2022-01-07
  • 2022-02-08
  • 2022-01-07
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-24
  • 2022-12-23
  • 2021-07-30
  • 2022-12-23
相关资源
相似解决方案