摘要: CCSize size=CCDirector::sharedDirector()->getWinSize(); CCSprite* sprite=CCSprite::create("s_1.png"); sprite->setPosition(ccp(size.width/2,size.height/2)); this->addChild(sprite); CCAnimation* animation=CCAnimation::create(); char str[50]; for(int i=1;iaddSpriteFrameWithFileNa... 阅读全文
posted @ 2014-04-02 11:52 yufenghou 阅读(182) 评论(0) 推荐(0)