我只是想使用Cocos2d-x和C++来制作一个CCParticleExplsion,但是在搜索完毕后似乎无法找到它。 ObjC例如:有人能给我一个简单的COcos2d-X粒子例子吗?
CCParticleSystem *firework = [[CCParticleExplosion alloc] initWithTotalParticles:200];
[self addChild:firework];
[firework setTexture:[[CCTextureCache sharedTextureCache] addImage:@"star.png"]];