+(id) particleWithFile:(NSString*)plistFile;
-(id) initWithFile:(NSString*) plistFile;
CCTextureCache
+ (CCTextureCache *) sharedTextureCache;
-(CCTexture2D*) addImage:(NSString*) fileimage;
使用缺省粒子特效
CCParticleSystem *snow= [CCParticleSnow node];
snow.texture = [[CCTextureCachesharedTextureCache] addImage:@"snow.png"];
[self addChild:snow];
CCParticleSystemQuad
使用了ARMNEON图形GPU芯片特性
CCParticleSystemPointARM老式CPU
使用粒子设计器产生plist
CCParticleSystem *system =[ARCH_OPTIMAL_PARTICLE_SYSTEM
particleWithFile:@"bird-explosion.plist"];
system.positionType = kCCPositionTypeFree;
system.autoRemoveOnFinish = YES;