2012-03-20 78 views

回答

0

我使用倒裝卡

id flipx = [CCFlipX3D actionWithDuration:1]; 
id flipx_back = [flipx reverse]; 
id delay = [CCDelayTime actionWithDuration:0]; 

[節點runAction:[CCSequence動作:flipx,延遲,flipx_back,零]];

但是,如何在節點的背面顯示不同的圖像?

0
  CCFlipX3D* flipx = CCFlipX3D::create(1); 
      CCActionInterval* flipx_back = flipx->reverse(); 
      CCDelayTime* delay = CCDelayTime::create(0); 

      node->runAction(CCSequence::create(flipx, delay, flipx_back, NULL));