我将如何在动画上使用 Action (例如……淡入/淡出)?我是否必须立即在动画中的每个单独纹理上设置淡入/淡出?
最佳答案
将动画添加到 Actor 并在其上添加 Action 。
public class AnimationWithAction extends Actor {
Animation animation = new Animation(5, textures);
}
AnimationWithAction anim = new AnimationWithAction();
anim.addAction(youraction);
关于java - Libgdx |场景2d |如何在动画上使用 Action ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37466720/