Matthew-J-Spencer/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

C#

2,173

30 commits

updated Oct 8, 2023

See the code

README

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. Set the player layer in the Player Controller asset located at Tarodev 2D Controller/Stat Presets/Player Controller
  2. That's it! Check the demo scene if you're stuck :)

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

About the 'Extended' controller (Patreon)

Converted to use standard unity physics, making it much easier to use and incorporate into your game.
It's even smoother than the current version.
Moving platforms & one-way platforms.
External forces (explosions, sword hits, bouncy... things).
Dash, double jump, crouch/slide.
Slopes.
Ledge sliding, grabbing & climbing.
Tilemap Support.
New input system support.
Fixed a bunch of bugs.
And of course better support.
Click here

Matthew-J-Spencer/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

C#

2,173

30 commits

updated Oct 8, 2023

See the code

README

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. Set the player layer in the Player Controller asset located at Tarodev 2D Controller/Stat Presets/Player Controller
  2. That's it! Check the demo scene if you're stuck :)

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

About the 'Extended' controller (Patreon)

Converted to use standard unity physics, making it much easier to use and incorporate into your game.
It's even smoother than the current version.
Moving platforms & one-way platforms.
External forces (explosions, sword hits, bouncy... things).
Dash, double jump, crouch/slide.
Slopes.
Ledge sliding, grabbing & climbing.
Tilemap Support.
New input system support.
Fixed a bunch of bugs.
And of course better support.
Click here

Significant stargazers

Clint Herron

62 followers · starred Jan 2025

Meru Patel

58 followers · starred Feb 2022

Marwen Azouzi

17 followers · starred Jan 2022