随笔分类 -  Cocos2d

cocos2d-x 必备的工具 TexturePacker & Physicseditor
摘要:TexturepackerThe sprite sheet creator turns chaos into orderhttp://www.codeandweb.com/texturepacker作用:图片打包和资源优化。把散乱的图片打包成大图片,进行资源优化。PhysicseditorEdit your physics shapes with easehttp://www.codeandwe... 阅读全文
posted @ 2014-11-04 21:40 <懒洋洋> 阅读(215) 评论(0) 推荐(0)
cocos2d 使用多个单独文件生成动画
摘要:- (CCAnimation*) animationWithFile:(NSString*)name frameCount:(int)frameCount delay:(float)delay { //动画帧文件集 NSMutableArray* frames = [NSMutableArray arrayWithCapacity:frameCount]; // ... 阅读全文
posted @ 2012-07-23 09:52 <懒洋洋> 阅读(150) 评论(0) 推荐(0)