Preview and test play
On this page
The preview
The top right of the “Script” screen shows the game screen as of the line selected in the script. Each time you select a line, it rebuilds the background, sprites, BGM and variables up to that line. Click the preview to move the story forward.

| Button | What it does |
|---|---|
| Pause | Stops sound and effects with the screen as it is (⌘⇧P; press again to resume) |
| Mute | Silences sound only while you edit (⌘⇧M) |
| Cursor sync | As the preview moves forward, the cursor in the script moves to that line (⌘⇧J) |
| PC landscape | Switches between PC and phone screens, landscape and portrait, to check how they look |
| Camera button | Saves a screenshot of the preview at the game’s resolution in exports/shots/ |
| New window | Shows the preview in a separate window. “Bring back” returns it |
| Full screen | Shows only the preview, full screen (⌘⇧Enter) |
“Enlarge” in the preview heading widens the right panel so the preview is bigger (⌘⇧B). When the project has translations, choose a language from the row of buttons to show the preview in that language.
Below the preview are the background, BGM and sprites at that point, with the lines that set them. Click one to go to that line. Open “Variables” below that to see the values of variables and the lines that set them.
Try different variable values
While the preview shows text or choices, click the value of a variable to change it on the spot. Press Enter to confirm, and a “Changed” mark appears; as you move the preview forward, it branches using that value. Files and initial values don’t change, so you can use this to test branches. Click the mark to go back to the original value.
The thumbnails at the bottom show the pages of the open file as small images of the background and sprites at that point. Click one to go to that line.
Play from here
“Play from Here” in the right-click menu of a line or scene starts a test play from that line. To start from the cursor line, press ⌘⌥P. You can also start from the right-click menu of a card in the flowchart.
It rebuilds the background, sprites, BGM and variables just before that line and then starts, so a scene partway through looks exactly as it would in the game. If the line can’t be reached by playing from the beginning, it first looks for a route that reaches that line.
Breakpoints
In the code view, click to the left of a line number to add a red mark. When the preview reaches that line, it stops before running it. In the block view, add or remove one with “Breakpoint” in the right-click menu of a line.

- While stopped, “Step” appears in the row of buttons below the preview. Click it to run that command and stop again before the next one.
- Click “Pause” again (⌘⇧P) to continue from there.
- Click “Breakpoints N” below the preview to see the list. Click an entry to go to that line, or “Remove all” to remove them all.
- Write an expression such as
game.n == 1in a “Condition” field of the list and press Enter, and it stops only when the expression is true.
Breakpoints are saved together with the content of the line, so they stay on the right line even if you edit the script in another editor.
Test play
“Test play” at the top of the screen plays the game from the title screen, just like the real game. Saving, loading and the settings screen work the same as in the released game.
The timeline
Open “Timeline” from “More screens,” or click “Open” under “Timeline” in the right panel, to adjust the effects of the selected page (background changes, sprites, camera, shaking and so on) as bars on a time axis.

- Drag the right end of a bar to change its length (
timeorfade). - Drag a bar to change when it starts. An
@waitline is added if needed. - “Play” plays the effects of that page as they appear in the game.
Every change rewrites that line in the script. You can undo with ⌘Z.