
Làng PTA: a balloon-popping village festival
2026-12-03 · Làng PTA
Làng PTA is a project I'm making for PTA: a 3D village in the phone browser where people come to breathe, look after a cat and sit quietly together. I started on Nov 3, it's over 150 commits now, and since Dec 3 it runs at lang.pta.com.vn.
Besides the garden, the village now has houses where everyone gets their own, rice terraces with buffalo rides, a chicken-catching game with 12 levels, and this week a village festival. The festival gate is next to the village gate, where Ông Mõ, the village crier, counts down and calls out. The first game is balloon popping: a match is at most 90 seconds over 8 sections, you run, jump and pop balloons, and if you pick up a durian shell to wear, every balloon you touch pops for 5 seconds. There are 2 or 4 lanes, virtual neighbours fill empty spots, the finish gives 30, 20, 10 or 5 coins, and each player gets their own title on the result card.
The festival music isn't a file either, it's made in code, with kèn bầu, flute, nhị, nguyệt and drums on a lion dance beat. So far there's exactly 1 sound made with ElevenLabs, then the credits ran out :)) The online "race with the neighbourhood" mode has a 4-lane lobby that waits 20 seconds, and with 3 browsers at once, other players were never more than 1.2 m off.
The village has to run on mid-range phones opened from Zalo or Facebook, so the performance budget is tight: under 5 MB on first load, at most 80 draw calls a frame, no textures, only vertex colors, and characters further than 14 to 26 m (depending on the phone) aren't drawn. On Dec 3 I reworked the south side, and on mid-range phones the festival gate is now 71 draw calls and 150k triangles.

The village is still a prototype. Player chat isn't on yet, low-end phones still draw 107k to 128k triangles, and I haven't tested enough on real iPhones and Androids.
#lang-pta#threejs#r3f#multiplayer#client
Comments
Loading…