GANDER games can now have a VR mode. A game that switches it on shows an Enter VR button where a headset is present: in Quest Browser, or in Chrome or Edge with a PC headset, the game moves from the screen into the headset and the two controllers become your hands. Without a headset nothing changes, and the same game plays on a laptop or a phone as before.
To try it we asked the studio for a small, calm VR game, and Claude Opus 5.5 built Star Jar in one turn: you keep a lighthouse at night, catch falling stars in a butterfly net and sort them into jars by colour so the lamp can shine. This post shows what it looks like in the headset, how VR works in GANDER, and how we tested it.
What does VR mode do in a GANDER game?
One line in the game's code turns it on. From then on, whenever a headset is in use, the engine draws the 3D world twice a frame, once from each eye, at the position and angle the headset reports. You look around by turning your head. You can walk around your room and the game follows.
Everything the game draws in 2D, its menus, buttons and text, goes onto a flat panel floating just over a metre in front of you. You point at it with a controller, a laser and a dot show where you are pointing, and the trigger clicks. That means a game's existing menus work in VR without being rebuilt. The panel follows your head lazily and comes back in front of you when you turn away, and a game can pin it to a wall or to your wrist instead, or hide it while you play.
The controllers also count as a gamepad, so a game's existing controls keep working: sticks move and look, triggers fire. On top of that the game gets each hand's position, its pointing ray, every button and the triggers' squeeze from 0 to 1, plus short buzzes for touch. Moving around uses teleporting or walking with a stick, and turning usually goes in snaps of 30 degrees, because smooth turning makes a lot of people feel sick.
Which headsets and builds does it work with?
In the browser it uses WebXR, the standard that Quest Browser and desktop Chrome and Edge support. That covers a Quest on its own, and a PC headset plugged into a computer. A game that turns VR on loads its WebGL2 build when a headset is there, because browsers don't yet offer WebGPU to headsets.
The downloadable builds use OpenXR, the cross-vendor standard, with whatever VR runtime the player already has (SteamVR, Meta Quest Link and others):
- Windows and Linux, including Steam Deck: the build ships the OpenXR loader beside the game and starts in VR with a
--vrlaunch option, so it can have its own "Launch in VR" entry on Steam. Without the option, or with no headset, it plays flat. - Android: the app carries the entries a Quest looks for, so a Quest launches it straight into VR, and the same app runs flat on a phone.
- macOS: there is no OpenXR runtime for the Mac, so no VR there.
In VR the engine turns off a few things that cost too much for two eyes at 72 to 90 frames a second: the Pro graphics tier, depth of field, and the first-person arms that FPS games draw. Fog, shadows, particles and post-processing stay on.
What is Star Jar?
You stand on the iron gallery at the top of a lighthouse, with the lamp behind you and a shelf of four empty jars along the railing: gold, rose, blue and green. Stars fall slowly out of the sky around you. You swing the net to catch one, reach into the net with your other hand, take the star out and drop it into the jar of its colour. Each jar glows brighter as it fills. When all four are full the lamp lights, its beam sweeps the sea, the boats sail into the harbour and the stars you saved draw a constellation in the sky.


There are five nights, each a little busier: stars falling two at a time, shooting stars that cross fast and count double, a gull that tries to steal a star out of your net until you wave it off, clouds that hide stars until they drop below them, and a heavy comet you need both hands to lift into its own big jar. A star in the wrong jar fizzles grey and is lost. There is no timer and no way to fail.
It plays without a headset too: the net follows the mouse, a click scoops a star, a second click takes it out of the net and a third drops it in a jar. On a phone a tap does the same, with two buttons to turn.
How was it made?
One prompt, one turn, on Claude Opus 5.5. The brief described the place, the two hands, the loop and the five nights, asked for every model to be made in code (the lighthouse, jars, net, stars, boats and gull are all simple shapes), and said it had to stay smooth in a headset. The agent read the engine's VR notes, built the game, then generated the title art, the sounds and a music-box tune. It kept VR frames light: about 50 draw calls and no shadows in the headset.
The gloved hand and the net are drawn by the game at the controllers' positions every frame, because the engine draws no hands of its own. Grabbing is the game's own code too: when you grip near a star, it remembers where the star sits relative to your hand and keeps it there until you let go, then throws it with your hand's speed. Every catch, pick-up and drop has its own buzz.
How do you test a VR game?
Mostly without a headset. The engine's test tool has a pretend one. It enters the game's VR mode in a browser with two eyes and two controllers, plays a script of head and hand poses and button presses frame by frame, and saves screenshots of both eyes. Every VR picture in this post came from it. Star Jar's agent used it to check the parts that matter most: pointing at the start button and clicking it, catching a star in the net, taking it with the glove and dropping it into the right jar, with the right buzzes along the way.
The desktop builds were checked against Monado, an open-source OpenXR runtime with a simulated headset: a Linux build found the headset, opened a session, drew 60 frames into it and closed cleanly, and the colours in the middle of each eye matched what the web build draws from the same spot.
Testing like this is slow. Our test machines draw these frames in software, and a headset frame took 0.4 seconds in a light scene and over a second in a full one, so a script of a few hundred frames can take ten minutes. That kept Star Jar's VR checks short. We are moving VR tests to our GPU machines.
The last check was a real headset. Star Jar and our VR safety course both played as they should in the headset's browser: the panel and laser, the net and the glove, catching and sorting, the comet and the gull. A pretend headset checks the code paths, but comfort and how it feels to hold the net only show up with one on, so it is still the step we would never skip before anyone else plays a VR game.
What are the limits?
- The downloadable Windows and Quest builds compile, but so far only the Linux one has run in VR, against the simulated headset. Our headset test was in the browser.
- In a headset the game runs on WebGL2, so it looks as it does in a browser without WebGPU, not as it does on the WebGPU build.
Is VR only for games?
No. The first VR course we built is a fire extinguisher and lockout/tagout course for a made-up food company, where the learner pulls the pin, aims at the base of the fire and puts their own padlock on the isolator with their hands. It reports each step to a learning platform with the same code in a headset as on a screen. Those courses are part of our training simulations work.
If you have a Quest, open Star Jar in Quest Browser and press Enter VR. If anything feels wrong in your hand, we would like to know.
Frequently asked questions
Can GANDER games run in a VR headset?
Yes. A game that calls gander::xr_enable(true) shows an Enter VR button where a headset is present: in Quest Browser, or in Chrome or Edge with a PC headset. The engine draws the world for each eye, puts the game's 2D menus on a panel you point at, and passes the controllers to the game as hands. Without a headset the game plays on a screen as before.
Which headsets does it support?
In the browser, any headset WebXR supports: a Quest in Quest Browser, or a PC headset in desktop Chrome or Edge. Windows and Linux builds use OpenXR with the player's own runtime, such as SteamVR or Meta Quest Link, and start in VR with a --vr launch option. The Android build launches into VR on a Quest. There is no VR on macOS, which has no OpenXR runtime.
Do I need a headset to make a VR game in vbgnt?
No. The engine's test tool has a pretend headset that enters VR mode in a browser, plays a script of head and hand movements and saves screenshots of both eyes; that is how Star Jar was built and checked. Before anyone else plays it, try it on a real headset: comfort and frame rate can only be judged with one on.
What is Star Jar?
A calm VR game made in vbgnt to show GANDER's VR mode: you keep a lighthouse at night, catch falling stars in a butterfly net and sort them into jars by colour so the lamp can shine and the boats get home. It has five nights, no timer and no fail state, and plays with a mouse or touch without a headset.
