Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | selamba |
I have a Sprite node that uses animation strips and an AnimationPlayer node that controls the animations. I have a strip 22 frames long, for the attack animation, and I want my character to be locked into the animation for the first 8 frames of the strip, meaning that no matter how much they press jump or try to move, they will still be attacking these 8 frames. After that, the player should be able to move again. How can I do that?
For clarity: an animation strip is a single .png file that contains different frames of the animation. If I had separate .png files, i would have used AnimatedSprite.
selamba | 2019-11-18 15:10