Skip to content

2022 · Games / Physics

1v1 Physics Platformer Game

Competitive two-player collision-physics game built in Java.

Java Versus Platformer

1v1 competitive platformer match with real-time velocity collision.

The problem

Building a two-player local versus game on a single keyboard without key-press ghosting or missed input frames.

The constraint

Java keylisteners easily drop key-release events during simultaneous multi-key presses.

What I built

A bitmask key polling tracker and custom momentum physics loop in Java AWT.

The outcome

A responsive two-player arcade platformer running at consistent framerates.

Links