ULTIMATE 2D Platformer Controller for Unity

Published: 06 June 2024
on channel: Sasquatch B Studios
9,478
370

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


Watch video ULTIMATE 2D Platformer Controller for Unity online without registration, duration hours minute second in high quality. This video was added by user Sasquatch B Studios 06 June 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 9,478 once and liked it 370 people.