TexturePacker的使用(图片打包再一起)
摘要:
CCSpriteFrameCache::sharedSpriteFrameCache()->addSpriteFramesWithFile("last.plist","last.png"); CCTexture2D *texture=CCTextureCache::sharedTextureCache()->textureForKey("last.png"); CCSpriteBatchNode *node=CCSpriteBatchNode::createWithTexture(texture); addChild(no 阅读全文
posted @ 2013-04-24 09:40
jack_yan
阅读(535)
评论(0)
推荐(0)