Hey guys!
This one was quite a bit more ambitious than my regular tutorials, and took quite a bit more work. I've found that making a "GOOD" 2D jump is the MOST important (but also super difficult) things to do in 2D platformer games.
And so I wanted to make the best 2D controller I possibly could. This one features:
A run button (like Super Mario/Super Meat Boy)
Ground and Air acceleration and deceleration.
Gravity Controls
Clamped Fall Speed
Jump Cut Controls
Jump Apex Controls
Jump Buffering
Coyote Time
Multiple Air Jumps
And as a BONUS to you guys, I'm uploading the source code to Patreon along with a 'State Machine' version of the controls. 2D platformer controllers work really great in state machines, but making a transition from 1 'Player Movement' script to a State machine is a tricky transition to make, so I wanted to give that to you guys in case you want it.
If you want to try the controller out for yourself, you can check out the itch.io test project here: (download recommended for smoothest experience)
https://sasquatchbstudios.itch.io/2d-platformer-project
Will be uploading the source files to Github in just a few minutes.
Cheers guys, and really hope you enjoy this one!
Mikhail Larkin
2025-10-18 10:12:35 +0000 UTCDaniel Sibaja
2025-10-16 02:39:20 +0000 UTC