New Slide Behavior In Unity

I have been going through and completely abstracting the entire input manager in my game. As you can see, it keeps track of button states, velocity of the attached GameObject as well as if it’s standing or not on a flat surface:


Now with a cleaner way of managing input I am able to add even more behaviors such as the Mega Man slide:


I still need to create artwork for it, but it’s working great. Plus, I have a way of referencing other behaviors such as walk and jump to be disabled when you slide. This is critical since the behaviors don’t know anything about each out outside of being able to use Unity’s built-in enable/disable option on MonoBehavoir scripts.


Subscribe To My Mailing List

Want to learn how to make a game? Not sure where to start? Even if you are a seasoned game maker there is still a lot you can learn from my mailing list. I'll be covering tips and tricks for how to build, release and market games each month.

Simply sign up for my mailing list and also get access to a 50% off discount code for my eBooks and other content. I promise to not spam your inbox!

Join Now