utybo / StoryFX

StoryFX is a desktop program for playing branching stories and other text games, powered by Kotlin!
https://storyfx.zoroark.guru
Mozilla Public License 2.0
3 stars 0 forks source link

Support BST (OpenBST) stories #1

Closed utybo closed 5 years ago

utybo commented 5 years ago

https://github.com/utybo/BST has been archived in favor of this very project. It needs to get support, at least for basic stories.

JavaScript functionality will not be ported.

Mixed stories might be a good idea? Content in BST, dynamics in skts

utybo commented 5 years ago

I am considering not supporting the BST syntax in favor of a clearer and improved text syntax.

This syntax will not support dynamism at all. The way the BST syntax handles functions (through special nodes) is not compatible with StoryFX's approach of only having text nodes. Supporting BST would imply an entire rewrite of the compiler as well as dirty hacks all over the place.

The new syntax would probably look like this:

author=Me
title=My amazing story

[1]
This is my first node
{Go to the second one} -> 2

[2]
This is my second node

Still supports *markdown*
utybo commented 5 years ago

BST support will not happen. However, a BST to story.txt converter could happen.