Project: Paper2D

Although i did not see your pictures because i am battling collision issues and i have a headache i will try and give you a general direction on how to do .
trick is to use bool’s for every state of your player.
example: on “space pressed” set bool “Is_Jumping " to true.On landed set to false.
on “f pressed” set “is_attacking” to true.on released set to false. in situation you will encounter problems and you should use “on animation attack finished” set to false for reasons that are beyond scope of answer (he will get stuck to animation attack if he never releases button :wink: ).
With simple way you can go in beginning of every major move of your player and block him with a simple true or false branch!
example:
on “f pressed” :if jumping is false” and “if player hit is false” and “if player is not falling” is false then play the **** attack animation!

EDIT: let me try and help you a bit more my fellow paper2d comrade . is just one of my player movement. see how i block things with bools?


I hope i helped a bit :slight_smile: