huangkumao / Ultimate-2D-Controller

A great starting point for your 2D controller. Making use of all the hidden tricks like coyote, buffered actions, speedy apex, anti grav apex, etc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ultimate 2D Controller

An updated, smoother version using standard Unity physics is on my Patreon.

A great starting point for your 2D controller. Making use of all the hidden tricks like coyote, buffered actions, speedy apex, anti grav apex, etc

Watch the video: https://www.youtube.com/watch?v=3sWTzMsmdx8
Play the game: https://tarodev.itch.io/ultimate-2d-controller

Leave a ⭐ if you found it helpful!

User guide:

  1. Create a layer for your ground and assign it to your ground and other obstacles. Set the 'Ground Layer' on the controller and animator scripts.
  2. Set your controllers bounding box to match your character.

Feel free to use the code in your production games. Attribution welcomed :)

About

A great starting point for your 2D controller. Making use of all the hidden tricks like coyote, buffered actions, speedy apex, anti grav apex, etc

License:MIT License


Languages

Language:C# 100.0%