2D Controller v3 (Major release!) (Patreon)
Downloads
Missing 1 full-res photo, 3 files, as this post has not yet been imported.
Content
Edited: 08/12/24
Greetings!
I've re-written the controller from the ground up to address some major problems which plagued v2. You'll find this controller much easier to implement and use within your games.
Major changes:
It now includes a Physics Simulator, which orchestrates time and fixed time between players and physics movers (like platforms). This ensures frame-perfect coordination between active bodies. The simulator will be created automatically for you and can be ignored.
Secondly, I have come up with an unconventional, but I think superior way of building characters. You can check it out by playing with the Character Size dropdown on the Player Stats asset. This setup allows for much smoother step and slope mechanics.
Other upgrades:
Smooth and reliable moving platforms
Bounding box platforms (treat moving objects like world-zero)
Momentum conversion while exiting physics movers
Fully consistent across all frame rates
Refined slopes
Smooth stepping
Things to note:
I suggest using the new input system
The demo scene requires the Tile-map package to be installed
You can delete the ControllerSetupEditorWindow script to remove the top bar menu item
Setup:
I've included a welcome/setup window when you first install the package. You can find it again via the top menu 'Tarodev Controller/Setup Window'. There you'll find an autoconfigure button which will set the required layers for the controller to function. Be sure to set your layers correctly on the 'Player Stats' asset.
The unitypackage is great for dropping the controller in to any project as a lean package. The 'Full Controller Project' is good to open as its own fresh project as a reference. It has everything setup (input system, proper layer configuration, etc.) from the get-go, so you can cross-reference.
Files
Previews only