cocos2d-x--精灵反转效果--CCOrbitCamera

CCSprite*    pSprite = CCSprite::spriteWithFile("grossini.png");
pSprite->setPosition(ccp(CCDirector::sharedDirector()->getWinSize().width / 2, CCDirector::sharedDirector()->getWinSize().height / 2));
this->addChild(pSprite,1,1001);
pSprite->runAction(CCOrbitCamera::create(0.5f, 2.0f, 0.0f, 0.0f, 720.0f, 0.0f, 0.0f));

 

你可能感兴趣的:(cocos2d-x)