5 ms·
I've been looking for something Twine-like, but with non-HTML output. Does anyone know of an alternative tool that can output structured data, like JSON or XML?
by strix_varius 4y ago
I've been looking for something Twine-like, but with non-HTML output. Does anyone know of an alternative tool that can output structured data, like JSON or XML?
Essentially, I'd like to find a non-technical-writer-friendly UI for interactive stories that can output data appropriate for consumption in a game/app/system.
- an_opabinia 4y agoInk
- tskguarantee 4y agoInk from Inkle[0] can output to JSON. It has a Unity integration and I have used the JSON format in a custom game engine. Their editor (inky) makes it easy to play through the story as you write it. I used it for NPC dialogs for game. [0]https://www.inklestudios.com/ink/ https://www.inklestudios.com/ink/
- strix_varius 4y agoAwesome, thank you!
- phreack 4y agoI did exactly that a while ago combining Twine with Twison [0]. A non technical friend would write the story with Twine, compile to a JSON file, and I'd parse it with a quick script on build time so I could display it on a React web app (that I'd then make apps with, with Cordova). There were a few things that could be improved in the process but it all worked incredibly well after I hooked everything up! [0] https://github.com/lazerwalker/twison https://github.com/lazerwalker/twison
- strix_varius 4y agoNice, was your friend able to just use the Twine web API then? (no installation / setup required for their tooling)
- phreack 4y agoIt's been a while but I recall he'd run Twine locally with the Twison plugin. Nonetheless, I believe you can easily add Twison as a plugin to the Twine web tool. That way you'd only need your game designer to send you the updated JSON file (or possibly commit it to a VCS) after working.
- ritsuke 4y agoI'm building a tool called Elm Story (https://elmstory.com https://elmstory.com) that exports to JSON. It's in early access. https://gitlab.com/elmstorygames/schemas/-/blob/master/0.7.0.json https://gitlab.com/elmstorygames/schemas/-/blob/master/0.7.0...
- strix_varius 4y agoAwesome, I'll take a look!