by Stephen Carlyle-Smith (https://twitter.com/stephencsmith)
Keyboard 1 - Arrow keys and Ctrl Keyboard 2 - W, A, S, D and Space Gamepads - Left joystick and X to jump (on a PS4 controller anyways)
Hold down fire to join the game! This game can handle as many players as you have control methods for.
Get your avatar to the green "exit" box to complete a level. Red entities are normally fatal. Press Esc to restart a level. The players can also throw grenades, which affect the physics but otherwise cause no harm.
- Realistic physics using JBox2D
- Any number of players, using keyboard or gamepads
- Runs on any PC regardless of graphics card
- Code uses an entity system
- Source code "just works"
All assets and code are licenced under MIT. Source code is available from https://github.com/SteveSmith16384/PhysicsPlatformer
Gamepad Code thanks to Marcel Schoen (https://github.com/marcelschoen/gamepad4j) Uses JBox2D (www.jbox2d.org)
Thanks for playing!