-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[discussion] intfic language "ink" #298
Comments
the runtime is in C#, i guess to make it easy to use with Unity https://github.com/inkle/ink |
JS port of runtime |
I like their syntax! The features you quoted would be good for RiveScript too and not too difficult to implement...
I think if I ever decide to overhaul RiveScript and add tons of new features (possibly new/changed syntax) I'll start to consolidate down to the Go version so I only have one codebase to maintain -- and Go can compile to JavaScript via GopherJS or to WebAssembly now, while also providing bindings to any other C-compatible language. Only "small features" for the 5 implementations of RiveScript for now. :) |
came across this and thought it might be interesting to you, it has some nice ideas.
more oriented toward point and click interactive fiction but has some nice flow-control ideas
http://docs.unfold.studio/user_guide/ink.html#part-one-the-basics
Once-only (marked with a !):
Once-only alternatives are like sequences, but when they run out of new content to display, they display nothing. (You can think of a once-only alternative as a sequence with a blank last entry.)
inline conditionals
conditionals
http://docs.unfold.studio/user_guide/ink.html#example-context-relevant-content
i much prefer this syntax to rive's stuff with
*
- which makes it really hard to test for multiple conditions.tunnels
http://docs.unfold.studio/user_guide/ink.html#tunnels
allow you to have a piece of content that is called and returned from. more powerful than just a topic change which is like a goto. SuperScript had something like that i think with
no-stay
topic typehttps://github.com/superscriptjs/superscript/wiki/Topics#topic-flags
The text was updated successfully, but these errors were encountered: