Undisclosed Project

The game is a multiplayer VR arena shooter. Launch yourself off any surface, fight in every direction, and move from menu to match to respawn without a loading screen.

Platform
Meta Quest standalone
Engine
Unity
Modes
Capture the Key, Team Deathmatch, Free-for-All

The game

The game is a multiplayer VR arena shooter for Meta Quest.

The main way you move is the Vault, a baton you charge and then release against any surface to launch yourself across the arena.

Everything runs on a single energy resource. It charges your Vault, feeds the shots from your wrist launcher, and powers your shield. Your ammo is shown as crystals orbiting your wrist, so you can see how much you have left.

What I Contribute

  • NetcodeMultiplayer on dedicated servers, with server authority over movement, damage, and cosmetics. Unity Gaming Services handles cloud storage.
  • ShadersHLSL effects, including a raymarched metaball fluid effect for a melee weapon.
  • GameplayGame modes, weapons, respawn flow, and the state machine that runs every match.
  • Music & sound designThe soundtrack and the sound effects.

No loading screens

The game moves you between scenes without loading screens.

  1. Main menuThe menu is a world you stand in.
  2. JoinDrop through a hole in the ground into a voting room built inside a giant robot's head.
  3. VotePick the next map by shooting its card.
  4. SpawnJump through the screen, which works as a portal, straight onto your spawn point.
  5. RespawnWhen you die, you fall back into the room and leave again through the portal.
  6. Match endThe map is taken apart around you and you fall home.

Portals

Every portal does two jobs: it shows you the other side, and it moves you there in one frame without you noticing. The same system runs the menu wells, the vote-room screen, the respawn hole, the Capture the Key spawn walls and the tutorial.

Showing the other side

A portal links two poses, so anything 2 m in front of one is drawn 2 m in front of the other. Each eye gets its own camera with the headset's real view and projection, so the picture has true depth in VR instead of looking like a flat TV.

To stay cheap on Quest, the camera uses an oblique near plane, draws only the rectangle the portal covers, skips shadows and post-processing, and renders nothing while the portal is off screen. The far side is lit with its own lights, sky, ambient light and fog, so it already matches what you'll see once you're through.

Portals open like an old CRT switching on. The scanlines fade as your head reaches the glass, so there's no seam.

The crossing

When your head reaches the glass, the whole rig, physics hands included, moves through in one frame. Velocity turns with you, so a jump or fall carries on through. The destination becomes the active scene while the old one keeps drawing but stops running, so nothing blinks out. For scene-to-scene portals, the destination streams in beforehand and you join the server the moment you land.

Surprised face: two square eyes and an open mouth, white pixels on black.
Smiling face: two eyes and a curved smile, white pixels on black.

The 64 × 64 source images behind the faces in the clip, shown enlarged.

Dot matrix face

Every robot's face is a 64 × 64 grid of round LEDs drawn by one shader. Give it a black-and-white image and it lights the matching dots in any colour.

Mapping the plate

The head's UVs are packed onto a shared palette texture, so they can't draw a face. At runtime a copy of the head mesh gets a flat 0 to 1 mapping across the plate in a spare UV channel, and the modelled eyes and mouth are removed. The original model is never touched.

Drawing the dots

The plate coordinate is scaled to the grid: floor picks the cell and frac gives the position inside it. Distance is measured in units of the cell's shorter side, so dots stay round on a wide plate, with a square pixel mode as an option. Each cell reads exactly one texel of the face image with point filtering. White is lit, black is an unlit grey dot.

Modular gun (scrapped)

One gun with two cartridge slots. The first slot took power-ups like increased fire rate; the second took scopes.

The cartridges loaded decided what the weapon became, so a single gun could play as a pistol, SMG, or sniper. The mechanic was cut from the game.

Replay system

The game records every session to its own custom replay format. You can open the file in a desktop viewer and watch the whole match again from any angle, with sound, voice chat and match events.

Recording

A recorder starts itself and works the same in any scene. It samples every tracked player about 20 times a second: head, body and both hands. It also logs gameplay events (shots, kills, pickups, key captures, scene changes, announcer lines) and each player's state (shield strength, ammo count, charge).

Voice chat is re-encoded to Opus at 24 kbps. Each voice stream is tied to the player who spoke, and silence isn't written to the file.

The format

The file is a stream of chunks with a version number. Two rules shape it:

  • Crash safetyThe file only ever has data appended to it, and it's saved to disk every 5 seconds and whenever the headset is paused. If a Quest dies or someone takes it off mid-match, you lose at most a few seconds at the end. A cut-off file still opens.
  • Instant seekingPlayback only places players at their recorded positions; it doesn't re-run the simulation. Jumping to minute twelve takes one binary search per track, so scrubbing is instant at any point in a match.

The format doesn't depend on Unity, and a Python reader for it is about a page of code.

The viewer

  • The real mapIt loads the map where the match was recorded and switches off networking, match logic and spawners, leaving the geometry and lighting as they were.
  • Players drawn as livePlayers appear as their real avatars, with the same shields and wrist crystals, coloured to match the player list. An x-ray outline shows players behind walls.
  • Sound and voiceSound effects and shot beams fire as the playhead passes them. Each voice plays from the speaker's head in 3D, so you can tell who made a call.
  • Three camerasFree flight, first person (exactly what the player saw) and a chase camera behind the player.
  • Getting files off the headsetA built-in device browser copies recordings off a Quest over USB, so a match recorded in the headset is on the desktop in a few clicks.