Posted March 19, 2023 by camisadostudios
#platformer #2d #super meat boy #player controller
Hey,
I'm creating a tight and responsive player controller & tilemap painting system in Unity. Inspired by the player controller in Super Meat Boy. The future plan is to possibly make this available as a Unity asset.
Current features:
Variable Jump Height
The upwards velocity of the jump is removed when releasing the jump button. This allows for more control over how high you want to jump.
Sprint
Increases your horizontal max speed while holding down the sprint key.
Wall Jumping
Can jump from one wall to another or up the same wall by moving towards the wall while jumping.
Paint System
It detects collision on the tilemap and depending on if it collided with a full, half or triangle tile it will spawn a specific paint prefab at the collision point. The paint prefab is a simple sprite that animates its scale on the y axis when it's spawned.
I'd love to know what you think if you try out the demo or are interested in this sort of thing.
Thanks for reading!