I am making a platform game and I'm just wondering how I can set an animation for attacking while jumping instead of the same attack while on the ground (while using the same button to attack as I do on the ground).
2nd question is how could I make a dash happen. I have the sprite for it and have his mad speed going higher during that sprite, but I still have to hold the direction I want to go (which I don't want to have to do). Also I am having trouble getting him to stop having that max speed after dashing. I have it set to where to whole animation plays and then he will be slow again, but if I jump or some other sprite int interrupts the "dash" sprite he continues to go at a ridiculous speed.
3rd question is I have a combo made of 3 different "Attacks" (all the same button). If I click too fast then I cannot use the attack at all anymore....anyone know how to prevent this?
Controls: W = Jump, A = Left, D = Right, Shift = Dash, Left Mouse Click = Attack (which is a combo).
I know this is a lot for one post, but I thought it would be best to put it all together. Sorry if it's any inconvenience and thanks for any effort to help.