ULTIMATE 2D Platformer Controller for Unity

Subscribers:
59,700
Published on ● Video Link: https://www.youtube.com/watch?v=zHSWG05byEc



Duration: 19:06
7,055 views
310


Show your Support & Get Exclusive Benefits on Patreon (Including Access to this tutorial Source Files + Code AND the State Machine version for this project) -   / sasquatchbgames  
Join our Discord Community! -   / discord  

--
Getting a jump to "feel good" is one of the most important things to get right for any platformer. It's also quite tricky to get right. This controller will feature:

- a run button (like Mario/Super Meat Boy)
- ground and air acceleration/deceleration
- gravity controls
- clamped fall speed
- jump cut controls
- jump apex controls
- jump buffering
- coyote time
- multiple air jumps

Hope it helps you, and hope you enjoy!

--
Timestamps:

00:00 - what makes a good Jump in 2D?
01:50 - setting up the player character
04:05 - Player movement with ground AND air acceleration/deceleration
05:36 - Checking whether the player is grounded or not
07:40 - Player Jump Setup
09:43 - Jump Checks
13:53 - Jump Physics
17:00 - a Few Corrections

--
Building a better jump GDC talk:
   • Math for Game Programmers: Building a...  

Try out the controller demo:
https://sasquatchbstudios.itch.io/2d-...

---
In need of more Unity Assets? Using our affiliate link is a great way to support us. We get a small cut that helps keep us up and running: https://assetstore.unity.com/?aid=110...
---
Looking for some awesome Gamedev merch? - https://sasquatchbgames.myspreadshop....
---

Who We Are-------------------------------------

If you're new to our channel, we're Brandon & Nikki from Sasquatch B Studios. We sold our house to start our game studio, and work full time on building our business and making our game, Samurado.

Don't forget to Subscribe for NEW game dev videos every Monday & Thursday!

Wishlist Samurado!
https://store.steampowered.com/app/23...

Follow us on Twitter for regular updates!
  / sasquatchbgames  

#unitytutorial #unity2d #unity3d







Tags:
unity
unity2d
unity tutorial
sasquatch b
game development
unity tips and tricks
unity tips for beginners
unity 2d platformer
unity 2d platformer tutorial
unity 2d controller
unity 2d movement tutorial
unity 2d jump tutorial
unity 2d jump
unity ultimate 2d controller
unity jump coyote time
unity jump buffering
unity jump apex controls
unity jump character controller
unity platformer controller input system
unity celeste movement
unity hollow knight movement