Skip to content

idea: ability to parse ink files #161

@blurymind

Description

@blurymind

inkle's ink story syntax is a popular and battle tested programming language for crafting stories.
https://github.com/inkle/ink

They have their own official editor, but also unofficially you can edit ink stories in yarnclassic
https://www.inklestudios.com/ink/
https://github.com/blurymind/YarnClassic

for js, there is a library that provides both a parser and an interpreter
https://github.com/y-lohse/inkjs

my angle here is to potentially write an addon for yarn classic that fires up the ink story you are editing in it inside pixi-vn.

I would need to fork pixi-vn and use it for the rendering side of things, while using inkjs for the story parsing in the runtime.

One idea is to be able to have that directly in pixi-vn and not make any forks. Just add the ability to load an ink file into it to declare the story - instead of using js.

Just an idea. If too big of a leap, maybe should be its own engine

Metadata

Metadata

Labels

narrative languageThis issue introduces and concerns an external storytelling language

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions