ink
A scripting language for interactive narrative.
Prose with a few marks for choices and knots, compiled into a game's dialogue.
ink is inkle's scripting language for interactive narrative: a writer types prose with light markup for choices, branches and state, and the ink runtime plays it inside a game. It compiles to JSON or to a web page, has an editor called Inky, and Unity and Unreal integrations; ink, Inky and the Unity plugin are open source under the MIT licence.
It is the screenwriter's tool for games: text first, logic second. It suits writers who want to work in a script-like file rather than a node graph.
Example
ink: inkle's narrative scripting language (inklestudios.com, read 2026)
The site describes Inky as the editor for writing, testing and exporting ink stories, export to JSON and to a web page, Unity and Unreal integrations, and ink, Inky and the Unity plugin released under the MIT licence.
How to use it
- Write the scene as prose in Inky; add choices with asterisks.
- Use knots and stitches for scenes and beats.
- Test in Inky's player as you go.
- Export to web for readers; to JSON for a game.
Common mistakes
- Hiding the story in state logic.
- Writing choices that collapse into the same line.