cocos2d_粒子特效二
2013-08-25 21:04
281 查看
+(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;
相关文章推荐
- 使用 Cocos2d-x 和粒子编辑器实现“天天爱消除”场景特效
- 【cocos2D-x学习】10.粒子特效(重力模式)的入门级学习——Read The F**king Code
- 【iOS-Cocos2d游戏开发之十】添加粒子系统特效并解决粒子特效与Layer之间的坐标问题;
- cocos2d-x 自带11种粒子特效
- 特效编辑器开发手记1——令人蛋疼菊紧的Cocos2d-x动态改变粒子数
- cocos2d-x (四)粒子特效相关说明
- 特效编辑器开发手记1——令人蛋疼菊紧的Cocos2d-x动态改变粒子数
- 使用 Cocos2d-x 和粒子编辑器实现“天天爱消除”场景特效
- 特效编辑器开发手记1――令人蛋疼菊紧的Cocos2d-x动态改变粒子数
- cocos2d-x 自带的粒子特效
- 使用 Cocos2d-x 和粒子编辑器实现“天天爱消除”场景特效
- cocos2d-x 11中粒子特效
- Cocos2d-x 粒子编辑器使用和渲染特效
- Cocos2d-x 中的 11种粒子特效
- Cocos2D游戏之旅(六):流星、烟花、火焰、下雪、下雨粒子特效
- Cocos2d-x 和粒子编辑器实现“天天爱消除”场景特效
- cocos2d-x (四)粒子特效相关说明
- Cocos2d-x学习笔记(十四)-------->粒子特效
- 【iOS-Cocos2d游戏开发之十】添加粒子特效并解决粒子系统特效与Layer之间的坐标问题;
- 使用Cocos2d-x 和粒子编辑器实现“天天爱消除”场景特效