Adding an attack sprite is similar, but still a little different in comparison to our idle, run, and jump sprites. Basically, we want to say: whenever we switch to our attack sprite, override all other potential sprites and make sure we cannot switch to another until this one attack animation is over.
We'll go in-depth into this technique directly in this video.
0:00 - Import Attack Animation
1:56 - Override Animations with Attack