0

CCAnimation で CCSprite をアニメーション化しようとしています。100 フレームありますが、.05f の遅延で実行すると遅すぎます。.03f と .01f を付けようとしましたが、アニメーションが完成しませんでした。

何か案が?

walkAnimFrames100フレームあります

CCAnimation *walkAnim = [CCAnimation animationWithSpriteFrames:walkAnimFrames delay:0.05f];
            CCRepeat *repeat = [CCRepeat actionWithAction:[CCAnimate actionWithAnimation:walkAnim] times:1];
            [scoreSrpite runAction:repeat];

または、50 フレームのみを使用する必要があります。これは、実際のスコアに応じて塗りつぶされるスコアバーのようなものです

ありがとう

4

1 に答える 1