cocos2d 如何实现 翻牌效果

来源:互联网 发布:淘宝订单待清洗 编辑:程序博客网 时间:2024/05/04 06:55

                                                    cocos2d 如何实现 翻牌效果  



///test

- (void) test

{

    CCSprite * sp_background_ = [CCSprite spriteWithFile:@"main_background.png"];

    

   id flipX = [CCOrbitCameraactionWithDuration:1.3radius:1deltaRadius:0angleZ:0deltaAngleZ:-90angleX:0deltaAngleX:0];

    [sp_background_ runAction:flipX];

}

原创粉丝点击