If you like making 2D Platformers...stay tuned!
Added 2024-05-20 23:30:13 +0000 UTCbeen cooking up something REALLY cool the last couple days for a tutorial.
I've been wanting to make my own 2D platformer controller for some time...it's always just about lack of time.
But for fun, I finally decided to sit down and figure out how to make the PERFECT 2d movement.
It comes complete with:
ground and air acceleration and deceleration controls
a run button (Ala Mario...or Super Meat Boy)
Intuitive design controls for jump height and time till jump apex
Gravity controls for descending arc of the jump
Clamped fall speed
Double jump (or 3, 4, 5, etc.)
Variable jump height with controls for the upwards cancel (ie. how fast you start falling after you release the jump button)
Apex hang time to give you just a LITTLE extra air time to give you a little more control
Jump buffer
Coyote time
AND....(check the video) - a visualization tool so you can see how far you can actually get with your jump!
As a bonus to all of you, dear patrons, this will be available in one 'Player Movement' script (which is what the YT video will be based on) - OR, better yet, I've put it into a nice state machine just for you guys if you're interested to see how that's integrated. If people are happy with the video I'll like do a part 2 to include wall slide, wall jump, and maybe a dash as well. If I do that, I'll add that into the state machine for you guys as well to give you a nice solid base for the ULTIMATE 2D platformer controller.
hoping to get this out in a couple weeks. Stay tuned!