Sharing some practical engineering notes from shipping four complete 3D browser games on Ant Games — all free, no pay to win, no sign-up, and transparently Built with Claude Code — where three titles use Three.js and our newest mobile-capable release uses a custom raw WebGL2 renderer (zero Three.js dependency).
When Three.js Paid Off
- Warship Workshop (https://antgames.ai/play/warship-workshop/#play) — 289 modular starship parts, 30 hulls, and a 1,000-rank online ladder auto-battler. Three.js scene graph & instancing made assembling arbitrary player-built hierarchies straightforward.
- Bridge Stress Test (https://antgames.ai/play/bridge-stress-test/#play) — 60 railway bridge engineering levels across 5 rail lines, plus daily level, sandbox, and level editor. Fast iteration on truss visualization, stress heatmaps, and camera framing.
- Scarecrow Smasher (https://antgames.ai/play/scarecrow-smasher/#play) — 3D sub-stepped iron flail arena brawler where physics sub-stepping keeps chain/ball angular velocity stable at high swing speeds.
Why We Wrote Custom Raw WebGL2 for Star Against the Dark
- Star Against the Dark (Web: https://antgames.ai/play/star-against-the-dark/#play | Android Google Play: https://play.google.com/store/apps/details?id=ai.antgames.staragainstthedark | Guide: https://antgames.ai/guide/star-against-the-dark/) is a 3D orbital bullet-heaven space survivor.
- Dropping Three.js in favor of custom raw WebGL2 shaders, tightly packed instanced buffers, and minimal draw calls gave us predictable frame pacing with hundreds of orbiting projectiles and enemies — which made wrapping it cleanly for our first Google Play Android launch much smoother.
We also published a short launch write-up on Medium and mirrors on itch.io (https://antgames-ai.itch.io/star-against-the-dark). Curious how others here decide the threshold for dropping a 3D framework and going straight to raw WebGL2/WebGPU!
You must log in or # to comment.


