Flashbacks in Interactive Fiction Must Come Back

Flashbacks in interactive fiction work like a subroutine that has to return. Where the trigger belongs, how long to spend, and what memory decides.

By The Fabledrift Team · · 7 min read

A flashback in interactive fiction has to come back. The reader is standing in a present scene holding a decision they have not spent yet, and a look backward borrows that turn; if it does not hand the decision back, it reads as an interruption rather than a scene. Flashbacks in interactive fiction work less like a chapter break than like a call that returns.

  • A flashback borrows the turn the reader was about to spend, so it has to hand the present scene back.
  • ink calls this shape a tunnel: a divert “that functions rather like a subroutine”, which runs a passage and then continues from the point that called it.
  • An ink tunnel ends with the statement ->->, which its documentation glosses as meaning, essentially, “go on”.
  • ink’s documentation warns that the compiler does not check that a tunnel really returns, so a missing return surfaces only at run time.
  • In a live-narrated story the trigger belongs inside the reader’s move, and the recalled past is only as reliable as the story’s memory record.

What makes flashbacks in interactive fiction different from a novel’s?

Position. A novel’s reader is being carried and owes the page nothing, so a chapter that opens thirty years earlier costs them only patience. An interactive reader is mid-decision: they have read a scene, formed an intention, and are about to act. A flashback arriving at that moment is not a change of subject. It is a delay on something they were already holding.

That changes the budget. A novelist can spend a chapter on the past because the present was never anyone else’s to spend. In an interactive story, the past is competing with the reader’s own next sentence, and it has to be worth more than that sentence to be worth reading at all.

Two rows comparing the two shapes a flashback can take. The top row, labeled a tunnel, runs from the present scene with a decision unspent, to the flashback, and back to the same decision still waiting; an arrow returns from the flashback to the starting box. The bottom row, labeled a jump, runs from the same present scene to the flashback and then into a different present where the decision is gone, drawn with a dashed outline.A tunnel — the flashback returns the decisionA jump — the decision never comes backThe present scene,a decision unspentThe flashbackThe same decision,still waitingThe present scene,a decision unspentThe flashbackA different present.The decision is gone.and the decision is handed back

How do the tools that build interactive fiction handle a flashback?

As a subroutine. ink, which describes itself as “inkle’s open source scripting language for writing interactive narrative”, has a construct for exactly this: a tunnel, which its guide introduces as “a new kind of divert, that functions rather like a subroutine”. An ordinary divert jumps and does not come back. A tunnel runs a passage and then continues from the point that called it.

The return is written into the syntax. A tunnel closes with ->->, which ink’s writing documentation glosses as meaning, essentially, “go on”. The same page offers a variant for the case where the past changes the present so completely that the old scene no longer exists — a tunnel can return somewhere else, with a syntax its example writes as ->-> youre_dead.

What breaks, in practice, is the return

The same documentation is candid about where this goes wrong: tunnel knots “aren’t declared as such, so the compiler won’t check that tunnels really do end in” a return statement. The flaw is invisible until the story is running. That is a useful warning for anyone writing backward-looking scenes by hand or asking a narrator for one. The entrance is easy. The exit is the part nobody checks.

ink has a second construct worth knowing, the thread, which its guide says lets you “compose sections of content from multiple sources in one go” — closer to stitching than to branching. Threads are how a half-remembered detail can be made available in several present scenes rather than played as one set piece.

Where does the trigger belong in a reader’s move?

Inside the scene, attached to something physical. The craft advice for prose flashbacks — tie the memory to something in the present moment — becomes a hard requirement when the reader is the one supplying the trigger, because a request addressed to the narrator steps outside the fiction and gets answered outside it too.

What you write What the narrator is given What comes back
Tell me about my past A request, no scene, no object Exposition, delivered to you rather than to the character
I remember my sister An instruction to invent A sister and a memory, both new, both unchecked
I turn the ring over and think of the night it was given to me An object already in the scene, and a moment to find A recalled scene the story can tie to the ring

The third row works because it names something the story already holds. It also keeps the present tense running: your hands are still in the room. That is the same discipline that governs ordinary moves, and we have written about how much detail a move actually needs — one intention, one usable detail.

This is the shape Fabledrift, an interactive fiction app for Android, is built around: every scene is written live by an AI narrator that is handed the story’s structured memory on each turn, and you write your move in your own words. A backward look is a move like any other. If you only want a small piece of backstory, you can ask the narrator a question without advancing the story, which costs the present scene nothing.

Why does a recalled scene contradict the story you have read?

Because a flashback asserts facts about the past, and the past is the part of a story a reader can check hardest. Every new claim about what happened before has to agree with everything already on the page — names, grudges, who was present, what was promised. A story that keeps only its recent text has nothing to check a new claim against. A story that keeps a structured record of facts, characters, places and open promises does.

Flashbacks in interactive fiction are, in that sense, a memory test with a literary excuse. Asking for one is, in effect, asking the system to show its record. A story about the past has to hold one rule steady for the whole run, which is the argument we made about the three rules time travel interactive fiction has to keep; a flashback is the same demand at a smaller scale.

When the recalled scene is wrong, say so. In Fabledrift a reader’s own note takes precedence over the story record, so a correction written once holds for the rest of the run, and the story journal shows what the narrator is working from. Step back to your own earlier scene is free, which makes a failed flashback a cheap mistake rather than a ruined story. Pacing in interactive fiction is half the reader’s for the same reason: the decision to slow down, or to stop and look back, sits with you.

Three backward looks worth the turn

The first is the one that answers a question the present scene just raised — you find a locked door in your own handwriting, and the memory of writing it is the scene. The second is the one that changes the meaning of something you already did, which is the only flashback that improves a re-read. The third is the one that costs you something: a memory that makes the obvious move harder to take.

Everything else is a pause with good prose in it. Flashbacks in interactive fiction earn the turn or they do not. The test is simple enough to apply mid-story. Hand the reader back their decision, and ask whether the decision is different now. If it is not, the past can wait.

Frequently asked questions

How long should a flashback in interactive fiction be?

Short enough that the reader still remembers the decision they were holding. One scene is usually the whole budget, and a few hundred words inside that scene is plenty.

What is a tunnel in ink?

ink, inkle's open source scripting language for writing interactive narrative, describes a tunnel as "a new kind of divert, that functions rather like a subroutine". It runs a passage and then continues from the point that called it, which is the structure a flashback needs.

Can you ask an AI narrator for a flashback?

Yes, but phrasing matters. A request aimed at the narrator steps outside the story, while a move that touches something in the scene gives the narrator a trigger and a reason, and reads as part of the fiction.

Why do recalled scenes sometimes contradict what you already read?

Because a flashback asserts new facts about the past, and the past is the part of the story the reader can check hardest. A story that keeps a structured record of facts and characters has something to check the new claim against; one that keeps only recent text does not.

Does a flashback use up a turn?

In most interactive fiction, yes, which is the real cost. Some apps let you ask the narrator a question without advancing the story, and that is often the better way to get a small piece of backstory.