About the game
What Vibe Vibers Battlegrounds runs on
Vibe Vibers Battlegrounds is a multiplayer battle royale made for the web without a game engine: the game is written in TypeScript, drawn with Three.js, and played in the browser at bg.vibevibe.fun.
In the browser
- Three.js and WebGL draw the island, the vibe vibers and every effect. There is no Unity, Unreal or Godot underneath.
- TypeScript, built with Vite. The lobby loads first and the match's code comes after it, so the lobby is up before the match has downloaded.
- No imported 3D models: the vibe vibers are voxel characters, and they, the creatures and the island are all built from code.
- Clips become MP4 videos right in the browser, with Mediabunny, and are never uploaded.
- The same page runs on a computer and on a phone. On a phone it can be added to the home screen, where it opens full screen.
On the server
- Node.js runs every match, each match in its own worker thread.
- The server is in charge of the match: it steps the world 60 times a second, and players' moves reach it over WebSockets.
- Lag compensation: a shot is judged against where the others stood on the shooter's own screen, up to half a second back.
- Fog of war on the server: each player is sent only the fighters their screen could show or that they could hear, so a modified game has far less to give away.
- Bots take the empty seats. Several times a second, each bot works out who to fight, what to loot and where the Static is pushing.
- Match servers run on Fly.io in Asia, Europe and North America. Accounts and Season results are kept in PostgreSQL.
More
Last updated:
