Every layer comes out of the nozzle misaligned.
Shift it back into place before it hits the plate, using nothing but the two Shift keys.
| 🖨️ Layer shift | The 3D printing failure where layers slide out of place. Here, you fix it live. |
| ⌨️ Shift keys | The whole game is played with Left Shift and Right Shift. |
| 🔢 Bit shift | Each layer is a row of filament bits. Shift it left or right; bits pushed past the edge are gone for good. |
| 🌙 Night shift | The clock starts at 22:00 and the sun comes up at 06:00. Every layer takes 4 minutes, every botched layer costs 10 more, every retry 30. Clock out before sunrise. |
From job 5 the build plate is loose: mid-layer it jolts sideways, a real layer shift. The part already printed slides with it, so does the blueprint, and the layer in the nozzle has to chase it.
| Key | Action |
|---|---|
| ⇧ Left Shift | shift the layer left |
| Right Shift ⇧ | shift the layer right |
| ⇧ + ⇧ | both at once: drop the layer now |
| P / Esc | pause: resume, restart the job or the whole night |
| M | sound on / off |
| 📱 Touch | tap left / right of the printer (or the on-screen keys), DROP or two fingers to print |
Match each layer with the blueprint on the right before the timer runs out.
- 🍝 Filament printed over air sags into spaghetti.
- 🟥 Filament in the wrong place turns red.
- ✨ Clean layers in a row build a combo.
- 🫨 From job 5 the plate slips: follow the print, not the old spot.
- 🌅 Watch the clock: after 06:00 you are on overtime, and the rocket misses its launch window.
- 🚀 Print the last job clean, before sunrise, and see what happens. Your best clock-out time is saved.
| # | Job | Layers | Twist |
|---|---|---|---|
| 1 | Calibration Cube | 8 | guide marks on the bed |
| 2 | Spiral Vase | 11 | thin walls, easy spaghetti |
| 3 | Phone Stand | 11 | a long diagonal |
| 4 | Arch Bridge | 9 | wide layers, tight margins |
| 5 | Coffee Mug | 10 | 🫨 the plate slips once |
| 6 | Chess Rook | 11 | 🫨 once, faster |
| 7 | Zigzag Spring | 12 | 🫨 twice, long throws |
| 8 | Launch Rocket | 13 | 🫨 twice, and it might fly |
- GitHub Pages: https://emanueletech.github.io/layer-shift/, rebuilt on every push to
mainby.github/workflows/pages.yml. - itch.io: https://emanueletech.itch.io/layer-shift, the jam entry for GitHub Game Off 2026.
Works on desktop browsers and on phones in landscape.
- Zero asset files. Every graphic is drawn in code, every sound and the chiptune soundtrack are synthesized with WebAudio.
- Tested headless. A bot plays all eight jobs (plate shifts included), and tests cover level data, pause, touch and the Shift-key chord.
npm install
npm run build # dist/ + dist/game-web.zip (itch.io HTML upload)
npm run single # dist/layer-shift.html: the whole game in one file
npm test # level data, smoke, stuck-Shift, pause and touch tests
npm run play # headless playthrough of all eight jobs
npm run media # re-record docs/media: gameplay GIF, screenshots, itch.io cover (ffmpeg + ImageMagick)Made by Emanuele Esposito · Emanuele Tech.
Publishing kit (itch.io page copy, embed settings, jam checklist): docs/itch-page.md.
Fonts: Poppins (SIL OFL 1.1) and DejaVu Sans Mono (Bitstream Vera license); licenses in public/fonts/.
Code: MIT. Fonts: see their licenses in public/fonts/.




