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 just getting to grips with Construct2 and so far everything is flowing pretty smoothly.
However, my character has an animation for a simple jump straight up, but I'd also like her to perform a different animation if she jumps whilst moving left or right. How best would I achieve this?
Sure - if the Platform speed is not equal to 0, use a different animation
Develop games in your browser. Powerful, performant & highly capable.
I think this should work:
Player On jump
(Sub-Event)Player platform is moving --> Set animation to "this"
(Sub-Event)Player platform is not moving --> Set animation to "that"
Same for On landed, if you want to have different animations (Idle, Run)
Thank you very much, that's fantastic!
One last question on the same topic - if I wanted to add an animation in for a pre-jump (so the player crouches down and prepares to spring forward) how would I ensure that this plays before the sprite jumps?
On key down "space" --> Set anim to "pre-jump"
On anim "pre-jump" finished --> Similate platform pressing jump
I don't now if this will work, but try it.
Thank you for replying, unfortunately that doesn't work for me
It seems like the pre-jump animation isn't playing at all. However, it is definitely there.