Hi all, I’m Wouter. I’m a video maker, not a game developer, and over the last months I built a cycling game for smart trainers in three.js. Mostly because I wanted to ride indoors and talk to my friends at the same time.
The scene is an 8.3 km lake lap in the south of France, with a stone viaduct that crosses its own road, a day cycle with golden hour, crowds on the climb and a few dozen riders and bots on the road. The game talks to the trainer over Web Bluetooth and the voice chat runs over WebRTC, so the whole thing is one browser tab.
I’m posting it here because the scene is the part I’m proudest of and the part I learned the most from. Happy to explain how anything is built, and I’d like to hear what you’d do differently.
Without a trainer: Tour du Pain · Indoor cycling game in your browser
The game: Tour du Pain · Indoor cycling game in your browser
