How would I begin to make a dive mechanic like Super Mario Odyssey?
Basically, if you press the down key in air, the character dives forward with gravity and everything.
(It’s a 2D game by the way!)
Nevermind, figured it out.
Can you share your solution for when other people see or search for this? I’m guessing it might involve the abort jump action and changing the animation.
Oh right, sorry.
I downloaded the advanced jump extension, added the dash behavior, and tweaked the speed, acceleration, and deceleration values of it. Then, I added a condition for when a key is pressed, allow jumping again, simulate jump key, simulate dash key, and change the animation.
2 Likes