InkGameScript – The Open-Source Narrative Scripting Language for Interactive Fiction

InkGameScript empowers writers and developers to create, publish, and play deeply branching interactive stories for games and the web. Built on the foundation of Inkle's Ink and the robust inkjs JavaScript engine, InkGameScript is the industry-standard narrative scripting language for interactive fiction, visual novels, and narrative-driven games. Whether you are a professional game developer, an indie creator, or a passionate storyteller, InkGameScript provides the tools and flexibility to bring your stories to life.

What is InkGameScript?

InkGameScript is an open-source, text-based narrative scripting language designed for creating highly branching, interactive stories. Originating from Inkle Studios and powering award-winning games like 80 Days and Heaven's Vault, InkGameScript (Ink) enables writers to focus on story logic and flow, not code. With its simple markup, you can craft complex dialogue, choices, variables, and conditions, all in a readable format. The inkjs engine brings these stories to the web, making InkGameScript the perfect choice for interactive fiction, web-based games, and educational experiences.

InkGameScript Logo

Features & Advantages

  • Branching Narrative: Effortlessly create stories with hundreds of choices and outcomes.
  • Seamless Web Integration: Use inkjs to run InkGameScript stories in any modern browser.
  • Open Source: MIT-licensed, with a thriving community and active development.
  • Inky Editor Support: Write and test stories visually with the official Inky editor.
  • Professional Game Development: Used in commercial games, visual novels, and educational tools.
  • Community Driven: Extensive documentation, tutorials, and a vibrant Discord community.
InkGameScript Logo

Quick Start

  1. Download the Inky editor and start writing your story in InkGameScript.
  2. Export your story to JSON or JS format.
  3. Integrate your story into your website or game using inkjs.
  4. Customize the user interface and experience with HTML, CSS, and JavaScript.
// Example: Loading an Ink story with inkjs
var story = new inkjs.Story(storyContent);
document.getElementById('output').innerText = story.Continue();
InkGameScript Logo

Demo & Showcase

Experience the power of InkGameScript with our interactive demo. Play through a sample story, explore branching paths, and see how easy it is to embed interactive fiction on your website. Discover community projects and commercial games built with InkGameScript and inkjs.

InkGameScript Logo
InkGameScript Logo

Frequently Asked Questions

What is InkGameScript?

InkGameScript is an open-source narrative scripting language for interactive fiction and games, based on Inkle's Ink. It allows writers to create deeply branching stories with simple markup and integrate them into web or game projects using inkjs.

How do I get started with InkGameScript?

Download the Inky editor, write your story in Ink, export it, and use inkjs to run your story on the web. See our Quick Start guide for details.

Is InkGameScript free to use?

Yes, InkGameScript and inkjs are open-source under the MIT license. You can use them for personal, educational, or commercial projects.

Can I use InkGameScript for commercial games?

Absolutely! Many commercial games and visual novels use InkGameScript and inkjs for their narrative systems.

Where can I find more resources?

Check out our documentation, GitHub repositories, Discord community, and blog for tutorials, tips, and community support.

InkGameScript Logo

About InkGameScript

InkGameScript is developed and maintained by a passionate community of writers, developers, and interactive fiction enthusiasts. Our mission is to make narrative scripting accessible, powerful, and enjoyable for everyone. Join us on Discord, contribute on GitHub, or share your stories with the world!

InkGameScript Logo