Skip to content

The engines

Two engines of our own, one file each, written for a 1 GB Raspberry Pi 3 and a controller.

Every game on the Sofa Box is one web page: offline, no libraries, no build step. Under them sit Low3D, the box's game engine, and Low2D, the shared 2D engine on top of it. Both look at the box they run on, pick a quality rung, and keep the frame rate steady while a game plays. The engine grows with each game: when a game needs something another game could use, the general part goes into the engine.

Source-available · PolyForm Noncommercial 1.0.0 Works in a browser: the tests play every game in headless Chromium On the Sofa Box: beta

Each engine

The box's game engine · one file, no libraries, no build step

Low3D

Sofa Box OS 1.1.28, 2026-11-07

The engine the box's own page games are built on. It draws two ways: 3D (WebGL 1, with a 2D fallback that paints the same world flatter) for open worlds like Tidewing's sea, and Ray, drawn by the processor, for worlds on a grid like Ironmaw's foundry, which looks the same on every box whether or not it has a GPU.

Tuned to the box

At its first start the engine looks at the browser's GPU, runs a two-second test and picks a quality rung. A Pi 3 starts low and is held to 320×180 in Ray games; a Pi 4 or 5 higher; a desktop from the test. While a game plays, a governor keeps the frame rate steady: a rung down when frames run late, a rung up when there's been room for a while.

The controller first

Every controller is a player, numbered as it connects, and someone can join at any time. Keyboard, the phone remote and a TV remote come through too. Back on the top screen is the box's.

Cheap to draw

Drawn at a small size and scaled up by the browser; flat-shaded meshes built in code, one draw call each; nothing new is made while a game plays. Ray games draw on every core with web workers, a frame or two behind the page, and a split screen is one view per player.

Big worlds, bodies, big moments

Since WYRD: a world too big to hold, built a chunk at a time as you come near; bodies on a skeleton, baked a pose at a time, one draw call each; a bag and what is worn; marks that sit on cloth, the HUD and menus alike; paper in the air and banners for a moment worth marking; and on the upper rungs, light that spreads from lamps alone.

What comes with it

Meshes, paths, trails, particles, chase and orbit cameras, land with height, a palette with coloured light, textures made in code, marks left on walls, see-through walls, menus, a synth that writes a tune from a seed, an attract mode for the box's games check, and since 1.1.83 bodies on a skeleton of fifteen joints, with poses, a mirrored side and clips by name (Rig).

The shared 2D engine · on top of Low3D

Low2D

Sofa Box OS 1.1.43, 2026-11-09

The engine for games in pixels: platformers, brawlers, tactics, racers seen from the sky. Seven of the box's games run on it, so they all share the same menus, pause, options and saves, the same controller handling, and the same tuning to the box.

A pixel picture, 480×270

Drawn crisp: on a 1080p TV exactly four times as big, on 4K eight. The game's rules run sixty steps a second whatever is drawn, with hit-stop and screen shake when a game wants them.

Three looks, two paces, never below 30

Light, full and rich looks (how big the light map is, how many glows, layers and particles), each at 60 frames a second or a steady 30. A Pi 3 starts light at 60; a slow processor starts light and may climb; a desktop or a Pi 5 starts rich. The governor steps down before a stutter shows and never returns to a rung that failed twice.

The same options in every game

Music and sounds, rumble, screen shake, Look and Frames, each with "for this box" as the auto-detect. The same choices work in the box's browser, in Sofa and on a website.

The parts

Tile maps drawn once into chunks, a light map with glows and pulses, reflections in still water, parallax layers, particles from a fixed pool, a 5×7 font, menus, and saves that are never written in attract mode.

The controller layer · pad.js

SofaPad

Sofa Box OS 1.1.16, 2026-11-03

What every game on the box reads its controller through: buttons by their place (A or ✕ at the bottom), both sticks, triggers, the D-pad itself, rumble, and players numbered in the order their controllers come. The box also turns controller presses into keys for games that don't read it; the games drop those echoes so nothing happens twice.

Inside one page

Gloamwell's own engine

Sofa Box OS 1.1.17, 2026-11-03

Gloamwell, the first game made for the box, carries its engine inside its own page: a camera, an effects governor that sheds light and particles on a Pi 3, its sound and its light, and a second player who joins from any controller. It is the proving ground: what later games needed went into Low3D and Low2D instead.

Built on, not built by EdgeVenture

Sofa Craft, powered by Luanti

On every card since Sofa Box OS 1.1.18, 2026-11-03

Sofa Craft is Luanti, the free block-game engine, with its Minetest Game: build, mine and explore an endless world of blocks. The box sets it up to start straight in your world and maps a controller to it (the right stick turns the camera since 1.1.52). On a Pi 3 it shows less of the world. Luanti is LGPL-2.1-or-later, with its pictures and sounds under CC BY-SA 3.0; Minetest Game's code is LGPL-2.1 and most of its media CC BY-SA 3.0, some CC0, CC BY or CC BY-SA 4.0. Both are by the Luanti team and contributors, not by EdgeVenture.

Our game maker

Lowforge

One app to make a game and play it. Lowforge opens a folder of games and keeps everything in one window: set a game up, build its world by hand, pose its bodies, try every model our engine builds with what it costs, then press play and the game runs right there with what you just changed. Mac first, as one app for Apple silicon and Intel; Windows and Linux, on x64 and arm64, are built and in testing. Its core is Rust, drawing through wgpu on Metal, Vulkan or DirectX 12, and a game made in it is the same game the Sofa Box plays.

In the worksEarly build
Lowforge's scene editor: a stone house picked in a game's world with its move handles, a fir and a crate beside it, the hierarchy on the left and the inspector on the right.

Set it up

Say what kind of game, how it looks, how many play, the controls and where it ships. Lowforge answers with a starting page, the steps from a Raspberry Pi 3 up and what each one costs, then makes the game.

Build the world

A scene view with its own camera: drag the kit's models in, pick one with a click, and move, turn or size it by its handles, snapped or free. A hierarchy for groups, an inspector for exact values, undo for every edit. The world is saved into the game, so the box, a web export and an exported app all play it.

Pose the bodies

Every body in a game and every pose, turned joint by joint on sliders, clips played at any rate, with what each pose costs on the GPU and against a Pi 3's frame. WYRD has 17 looks and 26 poses in it.

Try every model

All 25 things Low3D's kit builds, from firs to stone houses, at each detail, under four lights, with their triangles and size, and the line a game writes for one.

Play it here

Play runs the game in the same window with what you changed, saved or not. WYRD plays from its title into Hearthrim with keys, controllers and our own sound mixer; one key brings you back to the maker.

The same game as the box

What Lowforge saves is the box maker's own text to the byte, and its 3D views are drawn by Low3D itself. On a desktop it goes past the box: 4× multisampling and finer shadows, a frame of Hearthrim at 3840×2160 in 3.9 ms of a MacBook's GPU.

Where it stands. A Mac app for Apple silicon and Intel, macOS 14 and later. An early build for Mac, Windows and Linux is on Downloads, the scene editor in all of them, and a game made in it can be checked and sent to our arcade for review from its setup. On Windows and Linux, x64 and arm64, it opens the studio and plays WYRD on our test machines, but no PC with a real graphics card has tried it yet, and no controller has tried it anywhere.

The tools

Measured and packed with tools of our own.

The games are made with tools we wrote for them: a bench that times every game as a stand-in Raspberry Pi 3, a packer that brings models into Low3D with a mesh simplifier of its own and no Blender, the first page of a game maker that poses their bodies, and a check on the box that measures each game for real. The card builders, the boot proof and the rest are on the tools page, each with its code.

Games bench

tools/games-bench.mjs · Frame times, as a stand-in Pi 3

Model packer

tools/low3d-models.py · glTF to Low3D, no Blender

The maker: poses

deploy/sofa-box/games/maker/ · The first page of our game maker

Graphics check and games check

deploy/sofa-box/games/probe/ · The measure on the box itself

The Pi 3 budget

Built down to the slowest box, not up from a desktop.

A Raspberry Pi 3 has four slow cores, 1 GB of memory and a GPU from 2016, and it is the board the box runs on today. So the engines treat it as the floor: the quality rungs start there, and the governors step down before a stutter shows. On a Pi 4 or 5 or a desktop the same games climb to higher rungs by themselves.

Where it stands. On a Mac's headless Chrome, slowed twenty times a frame, each Low2D game holds 60 frames a second on the light look; the numbers are in the engine guide. Frames on a real Pi come next: the games check (Sofa Box OS 1.1.39 and later) measures them on the box itself. Run it on yours and send us the numbers. Send a hardware report(opens in a new tab)

Low3D rungs

3D from 144 to 720 lines tall and 150 to 500 m of draw distance; a Pi 3's GPU starts on rung 1 and goes no higher than 3; processor-drawn Ray games are held to 320×180 on a Pi 3, whether or not Chromium gives them the GPU.

Low2D looks and paces

Rich 60, full 60, light 60, full at a steady 30, light at 30, and never below 30: a steady 30 is better than an uneven 60. A Pi 3 starts light at 60 and goes no higher at 60.

The governors

Low3D: a rung down when frames run late, straight to a 30 fps rung when the game's own work fills the frame, up again after room for a while. Low2D: judged every two seconds by the 90th percentile of the frame's work; down past 70% of the frame or 6% late frames, up after three calm windows, never back to a rung that failed twice.

The games check

A page on the box plays every game in turn in attract mode and measures frames a second, late frames, the work a frame and memory: the real measure of each game on your box.

Controllers, players

Xbox, PlayStation, 8BitDo and generic USB pads over Bluetooth or USB. Every controller is a player, numbered as it connects; someone can join at any time, and a controller that goes away keeps its number.