Ink is an open source, narrative scripting language developed by Inkle Studios. This is my attempt to implement a sub-set of Ink. There's already a Lua implementation of Ink but I'm trying to create something more specifically targeted to PICO-8's limitations.
I'm in no way associated with Ink or Inkle Studios, [marge simpson]I just think it's neat![/marge simpson]
This cart doesn't implement all the features I want to support yet—and not all the ones that are implemented are fully implemented—but I think it's at a stage where it's interesting enough to share, so here it is.
Here's the actual Ink script which is driving the demo cart for anyone interested:
Eventually I want to have this cart function as a tool for narrative development. You'll be able to drag/drop an Ink script onto the cart. The script will be parsed and run in this text mode so it can be quickly and easily tested to make sure it flows the way it's supposed to. And while you could release a pure text, choose-your-path game in this format, that's not really the goal.
Once the narrative is flowing correctly, you'd export it to a compressed binary format which can be loaded into a game from a separate data cart. Otherwise all the code needed for the parser would be prohibitively large and would defeat the whole purpose. You'd only need the decompression code and a handful of functions for manipulating the story text keeping the bulk of your code space available for actual game play. But I haven't implemented any of that yet.
[Please log in to post a comment]