Play the same HTML your readers receive. Test progress is temporary and isolated from both your project and published game saves. Refresh or restart to load current edits and begin again.
Every choice opens a new path. Write a story in scenes, give your readers decisions to make, and turn those decisions into a playable adventure. No coding or account required to get started.
Your current story is shown in the header. Continue editing whenever you're ready, or explore the example to see how a branching story works.
The Menagerie Example · Explore a complete branching project with scenes, choices, flags and story maps. Loading it replaces your current project after confirmation.
Use seasons and chapters to organize your scenes. Each scene ID must be unique. A standard scene needs a destination for each choice; an Ending scene displays the outcome and a restart button. The image path is optional. Narrative is plain text; separate paragraphs with blank lines. Duplicate copies a scene and its existing choices. Deleting a scene can leave incoming links broken, so check Story Map afterward.
On a phone, use Story, Edit and Scene Preview to switch editor panels.
Flags are named true/false markers. For example, in one choice enter has_key=true under Set flags. In a later choice enter has_key under Require flag to show it only when true, or !has_key to show it when not true. Separate multiple effects with commas. Existing advanced JSON conditions and conditional destinations are preserved unless you explicitly replace them using the simple controls. The visual editor does not expose every advanced game field (such as inventory, relationship scores, or conditional narrative).
Story Overview organizes seasons, chapters and summaries. Chapter Map lets you add planned scenes, drag nodes, inspect links and create playable scenes. Dashed links are planning only; they do not create game choices. Ending Tracker stores planning notes for the six A–F outcomes. The existing route annotations are royal, journalist and guard; these are inherited from the original engine. Route Simulator shows flags, inventory, relationships, outcome scores and the path taken.
Preview Game runs the actual generated game. Desktop and Phone change the frame width. Refresh / Restart loads a fresh copy of the story. Switching away and back preserves the current preview if the project is unchanged. Preview saves last only within that frame. Use Story Map → Story checks for missing destinations and structurally unreachable scenes. These checks cannot prove every possible condition or ending is reachable.
Your current project is saved in this browser as you edit. Keep only one editor tab open for the same website. Browser storage can be cleared, blocked or full; it is not cloud sync. Backup JSON regularly and keep copies outside your browser. Import JSON replaces the current project only after confirmation. Clear Project and Load Example Story also replace it. JSON contains the complete editable story and planning records. Game HTML is not an editable backup.
Export Game downloads a standalone HTML file with all story text and game logic. Exported game HTML also contains your story planning data, unpublished branches and notes; anyone can inspect its source. Review or remove private material before publishing. Image paths reference separate files, not embedded artwork: include those files at the same relative paths next to the exported HTML, or use image URLs you control. Missing images show placeholders. Rename the game to index.html when hosting it at a dedicated site root. Game and JSON exports share a build number; previewing does not advance it. The editor itself can be hosted as a static index.html, with no server or external libraries.