2D Platformer Physics


The one-eyed box protagonist falling from a shaft.

For me, nothing beats a good 2D platformer when it comes to games. This is a little experiment with different control and physics aspects. It is inspired by great platformers such as Super Mario Bros and Mega Man, and features

  • Running
  • Jumping
  • Dash
  • Midair dash
  • Wall jumps and sliding
  • Stomp

To keep things simple everything is built out of axis aligned boxes and the world is static. Levels are generated by a simple python script.

The state of the avatar is presented by its color for understanding/debugging purposes. Parameters for player control and physics can be updated dynamically from an external file.

2DPlatformerPhysics.zip (61.5 kB)-A demo with a working parameter set to play with.