Shiny Gen / Blog

How to make a visual novel with AI

Also in: Español · Deutsch · Français · Português · Italiano · Nederlands · Svenska · Norsk · Bahasa Indonesia · Türkçe · Polski · Tiếng Việt · Русский · 日本語 · 한국어 · 繁體中文

To make a visual novel with AI, open Shiny Gen, start a new game on the Godot Engine, and describe the story in the Agent tab: the setting, the characters, the scenes, the choices and where they lead, the screen layout and the look. The AI agent writes the story and the code, draws the backgrounds and portraits as code, plays it and fixes what it finds. We did that for this guide. Five messages gave Seaside Sketchbook: a new student at a seaside art school searching for her lost sketchbook before the evening festival, three scenes from morning to sunset, three characters with portraits that change expression, typed-out dialogue with name tags, choices that decide who helps her, four endings, a backlog of every line you have read, and save and load at any point. It took about nine minutes of agent time and 166 gems.

Seaside Sketchbook in the Shiny Gen editor: Mina, a girl with long brown hair, smiling in a large portrait on the left in front of the art school gate at 8:30 AM, with heart counters for Kai and Ms. Rowe, her name tag and the line "I made it! New school, new town, new sketches." in the text box, and the agent's notes on the right.
The first scene: Mina at the school gate. The agent drew the scene and the portrait as code.

The test: five messages, one visual novel

Everything below is from one real session on 29 November 2026, recorded in the Shiny Gen app. The prompts are copied word for word, the AI's messages are quoted from the chat, and the pictures are screenshots of the app. Nothing was edited by hand.

MessageWhat we sentAgent timeGems
1The story, with the layout and art asked for up front4 min 17 s10
2"continue"38 s30.7
3"continue"2 min 1 s52.6
4A backlog and save and load1 min 57 s52.8
5"continue"9 s20.4

Step by step: the visual novel we made

1. Start a Godot game

Press +, choose New, then pick Godot Engine on the Choose an engine screen. In a browser, this link opens a new Godot game directly. The Agent tab is where you talk to the AI.

2. Describe the story, the layout and the look

Our first prompt, exactly:

Make a short visual novel in a wide 16:9 landscape layout: a new student arrives at a seaside art school on the first day of term and has to find her lost sketchbook before the evening festival. Show a full-screen background for each scene (the school gate, the art room, the beach at sunset), a large character portrait on the left for whoever is talking, a name tag and a text box along the bottom with text that types out. Three characters: Mina the new student, Kai the shy painter, and Ms. Rowe the teacher, each with a happy and a worried expression. Give the player two choices that change who helps find the sketchbook and lead to two different endings. Draw the backgrounds and portraits yourself as code in a soft, colorful, flat illustration style with gradients and simple shading. A title screen that goes away when I start, a click or tap or Space to advance, and an ending screen that says which ending you got.
The first prompt typed into the Agent tab of a new Godot game in Shiny Gen.
The first prompt, in the Agent tab.

A visual novel is mostly writing, so the prompt gives the agent the premise and the cast and leaves the lines to it. It also names the layout ("a wide 16:9 landscape layout"): in an earlier try without that line, the agent laid the game out for a portrait phone screen, which looks cramped on a computer.

3. The first message: a story you can play

The agent wrote the story, drew the three scenes and the three portraits, and built the game. It then ran two automatic playthroughs to two different endings, and said which endings it had only forced:

I ran two full automatic playthroughs, one that reached the Kai ending and one that reached the bad ending (An Empty Page). I forced the Ms. Rowe and Everyone Helps endings by setting the heart counts, and they came up as expected.

It had made more than we asked: hearts for each helper, a clock that moves from morning to evening, and four endings rather than two, including a bad one if you give up.

Seaside Sketchbook at the beach at 6:10 PM: a purple sunset sky over the sea, lanterns in the air and narration about the sun sinking and lanterns being hung for the festival.
The beach at sunset, the last scene.

4. "continue": a real playthrough with real key presses

The second message moved the heart counters so they no longer covered the choice buttons. The third played a route the way a reader would, with real key presses, choosing Ms. Rowe at school and following her lantern trail on the beach:

I played the Ms. Rowe route myself with real key presses. I picked Ms. Rowe at school, then followed her lantern trail on the beach. The ending screen read "The Teacher's Lantern" and "GOOD ENDING".
A choice in Seaside Sketchbook: Mina looking surprised, with three options on the right, follow Kai's paint footprints, follow Ms. Rowe's lantern trail, or give up and go to the festival.
A choice: whose trail to follow.
The ending screen THE TEACHER'S LANTERN, GOOD ENDING, with a line about Ms. Rowe's lantern lighting the rocks, best 900, NEW BEST and Press Start to play again.
One of the four endings, reached by real key presses.

5. Ask for the next change

The fourth message:

Add a backlog screen where I can scroll back through the lines I have read, and let me save and load at any point.

The agent added LOG, SAVE and LOAD buttons above the text box and B, S and L keys. It saved at one line, jumped ahead, loaded and landed back on the saved line, and opened the backlog with a real tap. The last "continue" tapped SAVE and LOG to check them, and listed what it had not tapped: OLDER, NEWER, CLOSE and LOAD.

The Shiny Gen editor after the fifth message: the title over the school, and the agent's summary of the backlog and save and load, with what it did not tap.
The backlog and save and load, with the agent's list of what it did not tap.

6. Play it and share it

The game plays in the editor right away: click, tap or press Space to advance, and pick a choice with a click or the arrow keys. Press Share to send a link anyone can open in a browser. Exporting the game as a web zip for itch.io or any web host is included with any purchase.

Things to try yourself: the Kai route and "Everyone Helps" by hand, scrolling the backlog, and loading from the LOAD button.

What we learned from the test

What to put in a visual novel prompt

Ideas to ask for next

FAQ

Can AI make a visual novel?

Yes. Describe the story, the cast and the choices, and Shiny Gen's agent writes the script and the code, draws the scenes and portraits, and tests the routes. This one took five messages, about nine minutes of agent time and 166 gems.

Do I need to write the story myself?

No. Give it a premise and a cast and the agent writes the lines; you can then ask it to change any scene, or edit the script yourself in the Code view, which costs nothing.

Can AI make a game like Doki Doki Literature Club or Phoenix Wright?

Yes, a game in the same genre: a visual novel with portraits, dialogue and choices, like the one on this page. Make it your own: your own story, characters and art, especially if you share or sell your game.

Does it work on phones?

Yes, the game runs in the app and in a phone's browser. This one is laid out wide, so it fits a phone held sideways best.

Is it free?

Making, playing and sharing games is free. The built-in agent uses gems, and new accounts get free gems. Exporting a game as a file is included with any purchase. See the pricing page.

Shiny Gen is not affiliated with or endorsed by the Godot Foundation, Team Salvato or Capcom. Godot is a trademark of the Godot Foundation; Doki Doki Literature Club is a trademark of Team Salvato; Phoenix Wright and Ace Attorney are trademarks of Capcom. They are named here only to describe.

Last updated: November 29, 2026

Start makingDownload on the App StoreGet it on Google Play