Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
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'm using physics object as my platformer player, so I use the impluse to make player jump. the problem is, player can jump when ever impulse is there. I want make player only able to jump when landed. any ideas?
Why not just use the platform behavior? Is there a reason you are using physics instead?
Make a variable and add 1 whenever you jump . and make a condition that blocks you whenever the variable is egal to 1 and make it 0 when you get on the ground
Develop games in your browser. Powerful, performant & highly capable.
Yes I have tried the variable way. I have a variable IsLanded set to 0 default, when landed(collided with ground object) set to 1, but then how do I set to 0 when in the mid air? I can't use Else event, and I can't invert the collision event:/