我正在将我的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 *emitter = [ARCH_OPTIMAL_PARTICLE_SYSTEM particleWithFile:@"ps.plist"];
我该如何更改此设置?
尝试改用 CCParticleSystemQuad
:CCParticleSystem *emitter = [CCParticleSystemQuad particleWithFile:@"ps.plist"];