摘要: 131页代码: 1 CCTMXTiledMap *map=CCTMXTiledMap::create("0.tmx"); 2 this->addChild(map); 3 CCTexture2D *heroTexture=CCTextureCache::sharedTextureCache()->addImage("hero.png"); 4 CCSpriteFrame *frame0,*frame1,*frame2,*frame3; 5 CCSpriteFrame *frame=new CCSpriteFrame[4]; 6 ... 阅读全文
posted @ 2013-02-06 11:59 gwjtssy 阅读(325) 评论(0) 推荐(0) 编辑