Inspiration

The bottom-cannon-versus-descending-swarm shooter is one of the oldest loops in games, and it was always played with a joystick and one button. On Quest your two hands are already two perfect controllers: one is great at smooth, continuous position, the other at crisp, discrete gestures. SWATFALL splits the classic loop across them — your move hand glides the emitter, your fire hand pinches — and then adds the thing a flat screen can never do: enemies that leave the screen. Glowmoths peel out of formation, rise off the playfield into the space right in front of your face, and hover there. You don't aim at them. You swat them, with your real hand, in your real room.

What it is

A seated, hands-first arcade game that sets up a tilted glass playfield about half a metre in front of you in passthrough. Three species of procedural crystal creatures — lumens, urchins and glowmoths — sweep across it, step closer at every wall, and drop sparks on your emitter. Slide your move hand over the amber rail to steer. Pinch, or make a finger-gun and drop your thumb, with your fire hand to shoot. When a diver rises at you a red reticle and "SWAT IT!" mark it, and you have a couple of seconds to slap it out of the air for 250 points before it dive-bombs your emitter. Waves get faster, drop more sparks and send divers more often. A run takes 3–8 minutes, so it passes the "one bus stop" test.

The whole game works with hands alone. Start, Resume, Restart, Exit and the Move-hand Left/Right swap are floating panels you poke with a fingertip. Holding your palm up for about 0.6 seconds pauses, with a gold ring that fills to show the dwell, so a stray wave of the hand doesn't trigger it. Pressing Start recentres the play space on your head, so it fits however you're sitting, inside the airplane-seat radius. In passthrough, WebXR hit-test looks for your real desk. With Desk Snap on, the emitter rail rests on the actual tabletop and the divers rise off your own table. Controllers and mouse/keyboard work too, but you never need them.

How we built it

three.js r186 and Vite on raw WebXR (immersive-ar with an immersive-vr option, local reference space, hand-tracking), hosted on GitHub Pages. Gestures are computed directly from XRHand joint poses in a small, pure module:

  • pinch with hysteresis
  • finger-gun thumb-drop
  • palm normal from the wrist and metacarpals, handedness-aware, plus a dwell/cooldown latch
  • poke hit-testing that only fires when the fingertip enters a button from the front

That module is covered by unit tests built on synthetic joint data, plus an end-to-end headless test that drives synthetic hands through start, steer, fire, swat, pause, swap and resume.

Every model is low-poly geometry generated in code. Every sound is synthesized live with WebAudio. There are no third-party assets. Everything that repeats is instanced, and glows are additive halo sprites rather than full-screen bloom. In our headless measurement the frame comes in at 15–20 draw calls and under 5k triangles, comfortably inside Quest's budget.

What's next

  • Smarter room use: anchor the hive to walls and shelves with plane detection, and let divers hide behind real furniture.
  • Two-handed "clap" combos and a charge shot.
  • Gaze-assisted swat targeting.
  • Daily seeded waves with leaderboards.
  • An accessibility mode with one-hand play and a larger swat radius.

Target launch: a public WebXR release alongside judging, then a Meta Horizon Store build in Q1 2027.

Hand interactions (no controller required)

Moment Gesture Feedback
Steer Move hand (left by default) slides left/right over the amber rail. The emitter tracks your palm 1:1, scaled ×2.2 Amber knob on the rail follows your palm; emitter banks as it moves
Fire Fire hand pinch (thumb + index), or finger-gun thumb-drop. Hold for auto-fire Cyan ring by your fire hand pulses, synthesized zap
Swat Touch a hovering diver with your index tip or palm (7.5 cm radius) Shard burst, white shock ring, "SWAT! +250"
Pause Hold either palm up, fingers open, for 0.6 s (1.5 s cooldown). Or poke the floating ❚❚ tile Gold ring fills above your palm; pause panel appears
Menus Poke buttons with a fingertip. A press only counts when entering from the front, with a 0.35 s debounce Hover highlight, click sound
Desk snap (AR) Look at your desk on the menu (a cyan ring marks the detected surface), then poke START with DESK SNAP: ON The field rests on your real tabletop
Handedness Poke MOVE HAND: LEFT/RIGHT on any panel. The choice is saved Rail and fire ring swap sides

The seated layout keeps everything within about 0.6 m of the player: the field is 30 cm below the eyes and 55 cm ahead, the rails sit at resting-hand height, and the menus are 40 cm away.

Built With

Share this project:

Updates

Submission history