06 Plugins
Whole genres, shipped as packages.
Each plugin comes in two halves: a runtime crate the player links, and an editor crate that registers documents, inspectors and hot reload through the editor's open registries. The editor core never names their formats.
story · kosuno_story · .story
Visual novels in plain text
Scenes, lines, choices, conditions and @ stage commands. Mistakes become diagnostics on their line and the rest still runs. Every stop takes a snapshot, so rollback and save slots come from the same mechanism.@run hands control to a minigame prefab. Try it: the highlighted line is the one being played.
examples/story/demo.story $trust = 0
- scene cafe
- @bg cafe_day
- @show mia at left happy
- mia: Hey, you made it.
- "Rain taps against the window."
- @bg cafe_rain fps=6 fade=0.4
- $trust += 1
- mia: First time here? Grab a seat.
- @move mia center t=0.5
- choice
- "Thanks, I'm starving." -> order
- "Just passing through." -> leave
- scene order
- @show mia thinking
- mia: The usual? {$trust} visit and I still don't know your name.
- @shake amp=10 t=0.3
- mia: Coffee first. You do pay attention.
- jump leave
- scene leave
- @hide mia
- @bg street_evening fade=0.4
- "The street hums in the evening light."