hank

Narrative scripting language for HaxeFlixel games based on Inkle's Ink engine
https://github.com/NQNStudios/hank

To install, run:

haxelib install hank 0.0.8 

See using Haxelib in Haxelib documentation for more information.

README.md

hank

Portable narrative scripting language based on Ink.

Build Status

Hank is a more portable answer to Inkle's open-source Ink engine. It is currently just a proof of concept, but you may use it at your own risk.

Comparison with Ink and Inkjs

FeatureInkInkjsHank
Well-maintained/Production-readyYesMostly yesMaybe someday--probably never
Recommended external enginesUnityHaxeFlixel
Ease of useComes with the Inky editor, gives syntax hints. Thriving, helpful community.Easily embeds in web-pages. Partly supported by Inkle.Stricter syntax, no official editor. Only understood by one other person (for now)
Flexible scriptingPowerful but bulky embedded scripting systemI'm not sureUses hscript module to allow full Haxe expressions inline without scope bloat
Open-source purismTightly coupled with UnityCompatible with the Javascript webdev ecosystemDeath/bankruptcy before closed-source dependencies
Automatic story testingNoneNoneWrite expected transcripts to easily test your story's output given sets of choices
Playthrough transcript exportingNoneNoneOutput a transcript to a file while playing your story. Generated transcripts are compatible with automatic testing.
Toolchain completenessInky & Unity plugin use the official compiler to recompile automatically while you editRelies on running the official C# compiler before each time compiling your webgameParses and runs entirely at runtime without external compiler
Publishing for Desktop appSupported through UnityTheoretically possible with ElectronComing soon with HaxeFlixel
Publishing for Mobile appSupported through UnityNot sure if possibleComing soon with HaxeFlixel
Publishing for HTML5Supported through UnitySupported out of the boxComing soon with HaxeFlixel
Publishing for AAA ConsolesSupported through UnityLikely impossibleComing soon with HaxeFlixel

As of now, you are better off using Ink or Inkjs for serious gamedev. Hank is good if you're interested in hacking away at a new/leaner system as a side project.

Dependencies

haxelib install utest
haxelib install hscript

Build/Install

TODO

Debug Hank stories

TODO

Contributors
NQNStudios
Version
0.0.8
Published
6 years ago
Dependencies
License
MIT

All libraries are free

Every month, more than a thousand developers use Haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on GitHub!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on GitHub