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
Our educational partners
Free education resources to use in the classroom
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 have a question for some time, I create a button that I keep hurrying to run (an animation play with this button), when I jump, the jump's animation doesn't work (because button is pressed the animation's button play always not the jump's animation), how I do to allow the jump's animation play with run button pressed ?
Thank you in advance.
If I think right, you want to make animation for the button, right?
In that case, I think you can add a condition that checking the player's speed and is on floor or not, then you can play the run animation for the button.
It's ok, I have create condition on the floor + instance variable (1 = walk and 2 = run)
But there is still a problem, so we can not perform an action with a button if another button is already pressed ?
It's annoying for a platform game if you can not advance and hit for example, because the forward button is pressed so the action does not start with the second key to hit ?!
So you can do like this:
Develop games in your browser. Powerful, performant & highly capable.
Excellent, it works very well !
Thank you very much !!
It's good to advance and attack, but to jump forward the animation does not play...
It doesn't work if I use two button for two actions (only the first play animation).