我正在将我的Cocos2D游戏升级到Cocos2D 2.0-rc23。我发现Cocos2D 2.0删除了ARCH_OPTIMAL_PARTICLE_SYSTEM。
“修复粒子:正确处理预乘图像
Fixed possible memory leak when changing textures.
Examples: Removed ARCH_OPTIMAL_PARTICLE_SYSTEM since PointParticle is no longer supported“
在我当前的代码中。
CCParticleSystem *发射器= ARCH_OPTIMAL_PARTICLE_SYSTEM粒子ps.plist:@“ps.plist”;
我怎样才能改变这一点?
发布于 2012-07-04 17:29:23
尝试使用CCParticleSystemQuad:
CCParticleSystem *emitter = [CCParticleSystemQuad particleWithFile:@"ps.plist"];https://stackoverflow.com/questions/11324707
复制相似问题