Developer diaries

Developer Diary: From LOAD "" to Live in Six Days

A bee, a castle, a lighthouse and a hundred ends of the world. The story of our first six days, from the first tape to a working website.

Spectrum Arcade didn't exist a week ago. This is the story of our first six days, from a single tape with a bee on it to a working website where new games turn up as drafts for us to check. It covers the games, the emulator we wrote to play them, and the site you're reading now.

Some of it went to plan. Some of it went sideways, once quite literally. Here's how it came together, roughly in the order it happened.

A bee and a test bench

It started with one small game. Buzz Bee is a tap-to-flap game: one key flaps, gravity does the rest, and every gap in the night hedges scores a point. We wrote it in Z80 machine code, packed it onto a tape with a BASIC loader and a loading screen, and loaded it through the real 48K and 128K ROMs on a test machine to make sure it behaved like a proper Spectrum tape.

Then came the obvious question: how would anyone else play it? So we wrote Specz, our own Spectrum emulator, to run in a web browser, with a touch version of the 40-key keyboard and Buzz Bee built in. That made it the first game in the arcade, and the one Specz was written to test. Jelly Storm, a shooter against waves of space jellies, followed close behind.

Bigger games, bigger tests

With the tools working, the games grew. Apocalypso! was finished on 10 November: 100 screens in ten zones, each a different end of the world, with 250 golden tins to collect and no weapon, just a jump. A model of the game's physics checked that every tin and exit could be reached before an autopilot played it all the way through. Our Apocalypso! diary tells that story in full.

Gemquake, a bat-and-ball game with 25 caverns, followed on 11 November. Mothfall, a scrolling cave shooter, and The Gullrock Light, an illustrated text adventure on a lighthouse island in 1897, arrived around the same time. Crypt Caper, a 60-room castle with three heroes, became a native Spectrum game on 12 November. Each one was tested the same way: load the tape through the real ROMs, let an autopilot play it, and look at every screenshot for colour clash, missed key presses and stray pixels.

Specz grows up

On 13 November Specz got its biggest update. It became a 128K machine with memory paging and the AY sound chip, so every game could play proper three-channel music on the 128K and fall back to the beeper on the 48K. Our article on beeper vs AY explains how one tape does both.

The same day brought real memory timing, so games run at the speed they would on the hardware, plus save states, a rewind button, physical game controllers and fullscreen. Specz also learned to open almost any Spectrum file you give it, and to load your own tapes through the unchanged Sinclair ROMs, which are included with Amstrad's permission. It even picks the right machine for each tape. Our guide shows how to load your own tapes.

Behind the scenes we tidied up too. Every game now carries a small header that tells the arcade where its score lives, so high scores survive a rebuild. One command rebuilds every tape from source, and an automatic check on GitHub fails if anything comes out different from what's saved.

Building the website

The website went up the same afternoon. We wanted it to look like a Spectrum: a black background with faint scan lines, rainbow stripes, the eight bright colours, square buttons and a flashing LOAD "" prompt. Behind it sits a small admin area, so the site can be run without touching any code.

The clever part is how games reach it. When a new game is added to our GitHub repository, its files are uploaded to the arcade automatically and its page arrives in the admin as a draft. Nothing goes live until we've read it and pressed Publish. We tested the whole route with a deliberately tiny game, Grid Lock, a game of noughts and crosses against the Spectrum.

It wasn't all smooth. Re-running an old upload put back an older copy of the arcade and removed Grid Lock for a few minutes, so the upload now refuses to run from anything but the latest version. On 14 November we found the site scrolled sideways on wide screens because of one stretched, hidden search box. That's fixed, and the stylesheet now uploads itself. Journal articles like this one now arrive as drafts in the same way.

Five more cabinets

With the pipeline in place, new games got quicker to add, because each one starts from a shared engine with the controls, scoring, music player and arcade header already written.

  • Prickles (13 November): a hedgehog maze chase with foxes and glow-worms.
  • Skullslide (14 November): digging through 16 haunted caves while skulls tumble.
  • Present Tense (15 November): Christmas presents falling into Santa's sack.
  • Reef Raid (15 November): giant clams bursting sinking sea mines.

Grid Lock makes it five new cabinets since the website opened, and each new game now gets its own launch article in the journal.

What we learned

Build the checking tools first. The physics model, the autopilots and the rebuild check caught problems no player ever had to meet. Give clear feedback on screen from the first version, too: Gemquake's pickup messages were only added after it was hard to tell the power-ups were working.

The one thing our tests can't do is listen to the music or feel how a game plays on a real Spectrum. That's where you come in. If something sounds wrong or feels unfair, tell us.

What's next

More games, more guides and a longer list of improvements: loading every game the same way, an installable version of the arcade that works offline, and a map screen for Crypt Caper. If you'd like to make something of your own, our guide to writing a Spectrum game today is a good start. Otherwise, head to the arcade and press Play.

More from the journal

Developer diaries ·

New to Spectrum Arcade: Gold Top Grand Prix

Race Dot Dawson's milk float against three rival milkies round eight circuits of Pennyford at dawn, and spend your gold tops at the Dairy Depot. Here's how we made it.

New games and guides, straight to your inbox

Hear first when a new Spectrum game lands in the arcade. No spam, and you can unsubscribe whenever you like.