Felt City: a multiplayer open city in one three.js file

Hi all. I’m a poker player, not a studio, and I’ve been building Felt City: Felt City | replayer.live

It’s a free open city in the browser. You walk, drive, ride a Sky Tram, take a ferry to a quiet island, and meet other players (chat, emotes, building pieces of the city together). No signup, no download.

Some things that might interest this forum:

  • The whole game is one ~1 MB HTML file on three.js r149.
  • Static batching per material and 48 m chunk cut draw calls by about a third.
  • Fresnel rim light on characters via onBeforeCompile.
  • Wet asphalt with a puddle mask, plus road reflections that switch off when frames get slow.
  • Camera collision against big meshes, and adaptive quality (3D renders every 2nd frame behind menus).
  • Multiplayer: a Cloudflare Worker with one Durable Object per room.

Most of the code was written with an AI coding assistant, with me directing design and story. Phone performance was the hardest part, so feedback from phone players is very welcome.