Learn everything you would need to know about creating player movement and behaviors into 2D platformer-style games.
Learn the foundation of player movement in 2d platformer games. This course offers a breakdown of common player behaviors as well as some advanced techniques to bring your 2D platformer to life. Jesse Freeman shows how to detect input from the keyboard and controller, make the player walk and run, and add in more advanced movement behaviors, such as ducks, double and long jumps, and sliding down walls. Plus, learn how to make your character pick up items and fire projectiles like fireballs.
Using the exercise files
1. Working with Input
Building an input manager
Abstracting axis input
Building an input state class
Tracking button release states
Reading from the input state class
Building multiple input managers for multi-player games