摘要:
通过.plist创建,warrior.plist和warrior.pvr.ccz 可以通过TexturePacker 工具生成,个人比较推荐这种方法。 CCSpriteFrameCache::sharedSpriteFrameCache()->addSpriteFramesWithFile("warrior.plist"); CCSpriteBatchNode* spriteBatch = CCSpriteBatchNode::create("warrior.pvr.ccz"); this->addChild(spriteBatch); .. 阅读全文
posted @ 2013-11-06 19:51
ben_2012
阅读(208)
评论(0)
推荐(0)
浙公网安备 33010602011771号