how can I use animation in cocos2d?

后端 未结 4 577
广开言路
广开言路 2020-12-02 12:41

I am trying to develop a Roulette game for iPhone. How can I animation (spin) the Roulette board?

4条回答
  •  醉话见心
    2020-12-02 13:10

    There are a couple of ways you can do it.

    If you have the frame-by-frame animation for the wheel, check out AtlasDemo (part of cocos2d distribution).

    Otherwise, take a look at Sprite's RotateBy: method.

提交回复
热议问题