Here it is how is in the game itself:
The problem that is pissing me off is that the sword flash animation in the third attack is misplaced (slow down the video to see it right)
I made the animation using 3 functions
function 1: ready the weapon animation (when clicked the icon)
function 2: first sword swing (at space key pressed)
function 3: second sword swing (at space key pressed again)
and than in the third swing (space key again) comes by calling function 2 again (I suspect that this is the cause of the problem, cus the third attack dont use function 1 but I still can't figure out how to fix it)
The flash sprite animation and sword animation are separated because I wanted to use the same moveset to other weapons. Here is how I did it
On Function 1 :
On function 2 :
On function 3 :
The image point location:
Tried to change it but it just turn the animation messier
Any idea why is this happening? should I had made the animation different? I'm not the best at construct, and some things may be a little amateur.