我在 cocos2d 游戏中制作了 1 个动画,但看不到该动画。有人可以帮忙吗?
Animation animation = new Animation("dance", 0.2f);
for (int i = 1; i < 15; i++) {
animation.addFrame(new CCFormatter().format("grossini_dance_%02d.png", i));
}
IntervalAction action = Animate.action(animation);
grossini.runAction(action);