ULTIMATE 2D Platformer Controller for Unity

ULTIMATE 2D Platformer Controller for Unity

Sasquatch B Studios

1 месяц назад

3,751 Просмотров

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

--
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:
https://www.youtube.com/watch?v=hG9SzQxaCm8

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

---
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=1100lwgBQ
---
Looking for some awesome Gamedev merch? - https://sasquatchbgames.myspreadshop.com/
---

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/2343270/Samurado/

Follow us on Twitter for regular updates!
https://twitter.com/SasquatchBGames

#unitytutorial #unity2d #unity3d

Тэги:

#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
Ссылки и html тэги не поддерживаются


Комментарии: