tto*_*tto 3 iphone cocos2d-iphone ccparticlesystem
我正在将我的Cocos2D游戏升级到Cocos2D 2.0-rc23.我发现Cocos2D 2.0已删除ARCH_OPTIMAL_PARTICLE_SYSTEM.
"[FIX]粒子:正确处理预乘图像
Fixed possible memory leak when changing textures.
Examples: Removed ARCH_OPTIMAL_PARTICLE_SYSTEM since PointParticle is no longer supported
Run Code Online (Sandbox Code Playgroud)
"
在我目前的代码中.
CCParticleSystem*emitter = [ARCH_OPTIMAL_PARTICLE_SYSTEM particleWithFile:@"ps.plist"];
我怎么能改变这个?
尝试使用CCParticleSystemQuad:
CCParticleSystem *emitter = [CCParticleSystemQuad particleWithFile:@"ps.plist"];
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
839 次 |
| 最近记录: |