How to Make a Visual Novel
A visual novel is a script with a stage around it. The craft is in the branching structure, the save system and choices that feel like decisions rather than menus.

Key takeaways
- Use a branch-and-bottleneck structure: branches rejoin at key scenes, and flags carry the differences forward.
- A save slot stores a scene id, a line number, every flag and the text history, not a screenshot of the screen.
- Good choices reveal character or trade one thing for another. Choices with one obvious right answer are filler.
- Readers expect quality-of-life features: skip read text, auto mode, a backlog and quick save.
To make a visual novel, write the story as a script split into scenes, give each choice a flag or a point value, and use a branch-and-bottleneck structure so routes diverge and rejoin instead of multiplying forever. Around the script, build the reader features players expect (text speed, auto mode, skip, backlog, save slots), then add backgrounds, character sprites with expressions and music. The engine part is simple. The writing and the structure are the work.
Pick a branching structure before you write
The biggest risk in a visual novel is branch explosion. Three choices with two options each is eight endings if every choice splits the story for good. Ten choices is over a thousand. Nobody writes that. Experienced writers use a few structures that keep branching affordable:
- Branch and bottleneck. Choices split the story briefly, then paths rejoin at key scenes (the festival, the storm, the confession). What differs afterward is carried in flags: a line of dialogue changes, a character remembers what you did.
- Route structure. A common route for the first act, then the story commits to one character's route based on accumulated affection points. Each route is mostly linear. This is the dating-sim standard.
- Hub and spokes. A central location the reader returns to, with optional scenes that can be visited in any order. Good for mysteries.
- Linear with flavor. Choices change lines and small scenes but the plot is fixed. Honest, cheap and fine for a short story.
For a first visual novel, plan 20,000 to 40,000 words (one to three hours of reading), one bottleneck structure, two or three endings. Write the scene list on one page first: scene names, which choices happen where, which flags each choice sets and which scenes read them.
A script format the game can read
Keep the story in data, not in code. A simple script is a list of scenes, each a list of lines. A line can be dialogue, narration, a stage direction or a choice. Something like this, in plain text the agent can turn into a parser:
- scene cafe_morning, bg cafe_day, music soft_piano
- show mika happy left
- mika: You came back. I was sure you would not.
- choice: "I promised, didn't I?" sets trust +1 / "I was in the area." sets trust -1
- if trust >= 2: jump cafe_confession, else jump cafe_small_talk
The point is that you can edit dialogue without touching game code, and that every jump and flag is visible in one place. When a branch misbehaves, you can tell the agent exactly which line is wrong. Most visual novel bugs are a jump to the wrong scene or a flag that is never set. The guide to fixing bugs with AI shows how to report a broken branch so the fix holds.
Choices that feel like decisions
A choice is only interesting if the reader cares about both options. The weak patterns are easy to spot: one obviously nice answer and one obviously rude one, or two options that lead to the same line. Stronger patterns:
- 01Trade-offs: help your friend or keep your promise to your sister. Both are good; you lose something either way.
- 02Characterization: choose how your character says something, not whether. Readers shape the protagonist's voice.
- 03Information: ask about the letter or the scar. You learn different things, and some routes need what you learned.
- 04Delayed consequence: a small choice in chapter 1 changes a scene in chapter 4. This is what makes readers replay. Remind them subtly when it pays off ("You remembered my name.").
Save slots: what to store
Readers save before every big choice and expect to come back to that exact line. A save slot should store:
- The current scene id and line index.
- Every flag and point value (trust, affection per character, clues found).
- Which scenes and lines have been read, so skip mode knows what to skip.
- What is on stage: background, characters and their expressions, music track. Or re-run the scene's stage directions up to the saved line to rebuild it.
- A timestamp, the chapter name and a short preview of the last line, shown on the slot.
Offer 10 or more slots plus a quick save and quick load. Keep the "read lines" record separately from the slots, so it survives across saves and new playthroughs. Saving to the browser is fine for a free web visual novel; if readers should continue on another device, add accounts and store saves in a database. Saving game progress covers save versions so old slots survive an update.
The reader features players expect
- Text speed setting and tap to show the full line instantly.
- Auto mode that advances after a pause proportional to line length.
- Skip that fast-forwards through lines already read, and stops at the next choice or unread line.
- Backlog: scroll back through recent lines. Readers miss things.
- Hide UI to see the art.
- Gallery and endings list for replayers.
These screens (settings, save slots, backlog) are exactly the kind of game UI you can rearrange by hand in Startbase's UI Editor once the agent has built them.
Art and sound on a budget
A visual novel needs backgrounds (five to ten locations, often with day and night versions), character sprites with a few expressions each (neutral, happy, sad, angry, surprised), and music for moods rather than scenes. Consistency matters more than detail: the same character must look like the same person in every expression. If you generate art with the agent, describe each character in a fixed reference paragraph and reuse it in every request. The agent can also generate music, ambience and sound effects, and voice lines if you want a few voiced moments. AI-generated images for apps covers keeping characters consistent across generated art, and AI-generated sound for games covers music and voice.
A visual novel brief to paste
A short visual novel for the browser, about 90 minutes, soft watercolor anime style. Story: a new student in a seaside town has one summer to find out why the lighthouse went dark. Three characters with 5 expressions each. Eight backgrounds with day and dusk versions. Script stored as data in a readable text format with scenes, dialogue, narration, show/hide characters, background and music commands, choices that set flags or add trust points, and conditional jumps. Branch and bottleneck: paths rejoin at the summer festival and at the storm; three endings decided by trust and one clue flag. Reader features: text speed, tap to finish line, auto mode, skip read text, backlog, hide UI, 12 save slots plus quick save, an endings gallery. Saves store scene, line, flags, read lines and stage state. Gentle piano and ambient sea sound.
Visual novel mistakes
- Walls of text. Keep lines to one or two sentences. A dialogue box is not a page.
- Branches that never rejoin. Your workload doubles with every choice.
- A first choice ten minutes in. Give the reader a small decision in the first two minutes.
- Endings decided by one hidden choice. Readers feel cheated if a single early option locks them out with no hint.
- No skip. Replaying for other endings without skip read text is torture.
When it is done, publish it to a link and share it to the Arcade. If you are new to building with an agent, the guide on making a game without coding explains the workflow.
Frequently asked questions
How long should a first visual novel be?
One to three hours of reading, roughly 20,000 to 40,000 words, with two or three endings. That is enough to tell a full story and small enough to finish and polish.
How do I stop branches from getting out of control?
Use branch and bottleneck: let choices split briefly, then rejoin at key scenes, and carry differences forward with flags and point values instead of separate storylines.
What should a visual novel save file contain?
The current scene and line, all flags and points, what is on stage, a timestamp with a preview line, and a separate record of which lines have been read for skip mode.
Can a visual novel run on phones?
Yes. Tap to advance is a natural phone control, and a web visual novel plays from a link in any phone browser. Design text size and the dialogue box for a portrait or landscape phone first.

