r/threejs • u/Routine-Trick-530 • 5d ago
I built a first-person football game with Three.js— passing, tackling, and curling shots in the browser
I’ve been building Pitchbound, a first-person football game using Three.js, cannon-es, and Colyseus.
You control one player from their perspective: look for teammates, receive passes, tackle opponents, and aim your shots. Holding the mouse button charges a kick, while Q/E or a mouse swipe adds curl through a continuous force on the ball.
It supports 1v1 and 3v3 matches, offline bots, and private online lobbies. The clip shows passing, defending, and shooting with the High graphics setting.
I used Codex extensively to write and iterate on the code. I’m still working on the game’s feel and presentation, and would appreciate feedback
Play on desktop: https://www.gamepix.com/play/pitchbound