摘要:
参考http://www.raywenderlich.com/1271/how-to-use-animations-and-sprite-sheets-in-cocos2d用到zwoptex工具。plist输出的时候,选择cocos2d格式。流程简介:先用plist创建一个spriteFrameCache然后创建一个spriteBatchNode然后创建一个队列存放Cache的图片然后创建一个CCAnimation对象播放这个队列然后创建一个action来播放动画。overif( (self=[super init])) {[[CCSpriteFrameCache sharedSpriteFr 阅读全文
posted @ 2012-04-06 19:27
pengyingh
阅读(566)
评论(0)
推荐(0)


浙公网安备 33010602011771号