Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I want to be able to jump and attack in mid air. Here's what I have so far. If I need to upload the game here, please let me know. Thank you.
Do you have basic controls set up for this?
Develop games in your browser. Powerful, performant & highly capable.
Arrow keys to move, up to jump, down to jump down from building perches, A to attack.
Ok, all you have to do is check if the player is jumping and attacking.
The player can jump. The player can attack. The player just can't attack while in mid air from a jump. I've been trying like hell to get it to do so. I've attached a short video to show you.
Im guessing you're using the platform behavior? There is a condition for it. 'Is Jumping' and 'Is Falling'.
How would I set that up?
Would it be like this?:
Is 'W' your attack button?
Yes it is.
You should combine those. So that its 'Is Jumping' or 'Is falling'.
I think it's working! Thank you for your help! :D
Just one more quick question--is there a way I could get the character to pause in midair while performing the jump attack. You, he attacks and stops falling, and when the animation is done he continues falling?