← appaday

Blocker: grey boxes for Fruitland levels, at the desk and in the headset

Before a level gets art it gets boxes. Level designers call this blocking out: you put down plain shapes where the platforms, walls and stairs will be, walk it, and move them until the jumps feel right. Blocker does only that, in the browser, for Fruitland. Its first line says what it is for: cuboids for manual 3D blocking, on the desktop and in the headset. It went live early this morning, and the one level saved in it so far is called Tmp.

A 3D editor in the browser under a dusk sky: a grey grid floor with grey blocks laid out on it, a large slab with a low wall of tilted grey bricks behind it, a ramp of steps, a yellow plus shape, a long row of small grey tiles, three single stepping blocks and a small platform with two red and two blue tiles. A green dot marks the start. A white panel at the top left holds ten colour swatches, width, depth and height steppers, a height control, a jump-reach checkbox, a sky menu set to Dusk, the count 72 blocks, a saved-levels menu showing Tmp, and New, Save, Save as, Export and Import buttons.
The level Tmp, 72 blocks, loaded from the store on the live page. The green dot is where Pip starts.

In Pip's units

A block is a cuboid on a half-unit grid, and the units are the game's own: the basic block is 1 wide, 1 deep and half a unit high, and every side grows or shrinks in halves up to 40. There are ten colours. A click on a face puts the next block against it, a click on empty space stands it on the working plane, and Page Up and Page Down lift that plane in half units to build floating platforms. Blocks are dragged across the ground, or up and down with Shift, and turned by quarter turns or by 15°. Everything has undo.

The one thing a box editor does not know is how far the character can jump, so Blocker draws it. With jump reach on (key J), the spot under the cursor gets two rings and a column: jump 2.0 up, running jump ~8.5 in orange, double 3.5 up, running ~14 in blue. A gap is either inside the ring or it is not. P puts Pip's start where the cursor is.

The same level closer, under a pale grey day sky: the big slab and the tilted brick wall at the left, the ramp of steps, the yellow plus, the row of small tiles running right, and the stepping blocks leading down to the platform with the red and blue tiles at the bottom. The jump reach box is ticked, and a legend at the bottom left reads: jump 2.0 up, running jump ~8.5, double 3.5 up, running ~14.
Day sky, zoomed in, jump reach switched on. The legend is at the bottom left; the rings follow the mouse and are not in this screenshot.

The same level in the headset

The second half of the code is for the Quest. Enter VR shrinks the level to a tabletop diorama at 0.22 m per unit, the scale the game uses for its islands, and Enter AR puts it over the room through passthrough. The sticks behave as they do in the game: the left one flies, the right one turns the world and zooms it about the point in front of your head. The rest is triggers and grips:

The levels live in a small store on the webspace, so a level saved on the PC can be opened in the headset. Each copy carries a timestamp, and a save never overwrites a newer copy from the other device; it says the store has a newer copy instead. Export writes the same thing as a JSON file in a format called fruitland-blocks/1.

built
on the other PC, live on 24 November 2026 at 05:10; Tmp saved three minutes before that
runs on
a desktop browser with a mouse; Quest browsers for VR and AR
made with
three.js and WebXR, no build step; five modules, 1,405 lines of JavaScript; all blocks drawn as one instanced mesh
saves to
the browser on every change, and named levels to a PHP store shared by both devices

Still rough

It is one day old, and the store holds one level with a placeholder name. The export is a format of its own, and the Fruitland code on this laptop, which is older than Blocker, does not read it, so this post cannot show a blocked-out level arriving in the game. The store is open to anyone who reads the page source, since the key sits in it; that keeps out bots, not people. There is no help beyond a keys list in the panel, and the desktop side needs a mouse: orbiting is the right button, panning the middle one.