CCSize size=CCDirector::sharedDirector()->getWinSize(); CCSprite* spr1=CCSprite::create("s_2.png"); spr1->setPosition(ccp(size.width*0.4,size.height*0.5)); this->addChild(spr1); CCSprite* spr2=CCSprite::create("s_2.png"); spr2->setPosition(ccp(size.width*0.6,size.height*0.5)); this->addChild(spr2); CCActionInstant* filpx=CCFlipX::create(true); spr1->runAction(filpx); CCActionInstant* filpy=CCFlipY::create(true); spr1->runAction(filpy); CCActionInstant* hide=CCHide::create(); spr1->runAction(hide); CCActionInstant* show=CCShow::create(); spr1->runAction(show); CCActionInstant* place=CCPlace::create(ccp(size.width*0.2,size.height*0.5)); spr1->runAction(place);