David Donachie's Website

Skip Navigation

Blog

Just a place for the odd thoughts, updates, and the detritus of my mind that doesn't belong on social media.

Showing posts tagged programming

Posted: Nov 22nd, 1:33pm

Zenith — A storylet story

In the summer of 2023 @manonamora (and the other members of the Neo Interactives) held the Single Choice Jam, an Interactive Fiction contest for games that only had a single user choice.

My entry was Zenith, a game about climbing an impossibly high tower to try and reach the impossibly distant top. My inspiritations were Italo Calvino's Inivisble Cities, Railsea, the movies Labyrinth and Mirrormask, and Christopher Manson's Maze. It's meant to be surreal, and reflective. The story, such as there is, emerges organically as you ascend the tower, with certain levels/chambers revealing aspects of the narrator's life, his (or her) reasons for being there.

Concept

The big challenge of Zenith, of course, was the requirement for only a single choice. I didn't want to make something linear, and I knew that I definitely wanted to make something replayable, so that required some element of randomness. I conceived of the tower as a place of endlessly entwined routes, of stairs and ladders and lifts and ropes and hidden ways where you could climb a hundred times without ever seeing the same places in the same order. In this way you could climb the tower over and again and still see something different.

Then, when you have gone as far as you could go, you get to make the single choice, a leap of faith towards the true goal, or a descent to try again with some other route. Along the way you can accumulate items based on the levels you have visited, which may alter or unlock certain routes. If you descend the tower you keep the items for the next climb, if you jump and fall ... well you start again from scratch. Of course, the items are themselves no more than a record of the rooms visited — you can't choose not to collect them because only one "choice" is allowed — but they provide a diagetic explanation for how some paths open others.

Narrative Design with ...

Posted: Jun 21st, 8:25am

Clickable imagemaps in Twine

Over on the excellent Twine Discord I see a lot of questions asking for the ability to "click somewhere on an image and go to some passage". This is a job for the HTML element (generally known as an imagemap), which works in many of the main Twine formats (albeit with some different syntax).

Posted: Oct 21st, 4:14am

Waxing Lyrical about Hypercard

Apple's late lamented Hypercard (lamented by me at least) was my first real brush with computer programming. It certainly led me to become a programmer, and it probably had a lot to do with my later interest in MUSHes and MUDs (which had some coding similarities), which in turn is how I met my wife — so you could say it was moderately influential on my life.

What was Hypercard?

Hypercard was what you'd now call an app development tool, but in black and white bitmaps on old Apple Macs in the 1980s.

If that sounds dry, it wasn't. Hypercard appeared, for free with every Mac, in an era when websites were unknown, and writing software for PCs and (especially) Macs, was a full-time undertaking with a massive learning curve. In that era of gated programming, Hypercard let you create your own software with a few clicks of a mouse, and share it with other people. Hypercard stacks came free on the CDs on the fronts of magazines. You could subscribe to user groups that would send collections of stacks around on floppy disk. Hypercard scripts appeared in fanzines, in much the same way that BASIC scripts had been listed in the gaming mags of the Commodore and Spectrum era.

Grimmoire Hypercard Stack
You want a picture, here's one of my stacks

How well I remember the joy of getting a new Hypercard disk in the post from one of the members of my fan group. I even sent out a few of my own, if I remember rightly (it was 30 years ago). Yes yes, you get all that joy now on the Internet for a fraction of the work, but that was then.

Hypercard also became a commercial tool of choice. If you bought yourself an electronic encyclopedia, catalogue, or educational program for the Mac in the late 80s and early 90s it probably came in the form of a Hypercard stack.

How did it work?

Hypercard let you create stacks. Stacks were a series of cards (screens) each of wh...