cyrusfirheir / twee3-language-tools

[ VSCode extension ] Syntax highlighting and programmatic language tools for Twee 3, and Twine 2 storyformats.
https://marketplace.visualstudio.com/items?itemName=cyrusfirheir.twee3-language-tools
MIT License
47 stars 15 forks source link

Quickly set startup passage? #123

Open jkendall327 opened 1 year ago

jkendall327 commented 1 year ago

First off, this is a really cool extension that is letting me write a big story outside of the official Twine bundle. Is there anywhere I can buy the dev/s a coffee or something?

The only missing feature that really stands out from Twine is the ability to quickly start a game from a specific passage for the purpose of debugging. I use Harlowe, and you can select any passage and just hit a 'test from here' button to open the story in your browser.

How hard would it be to add a button to the story map that lets you change the startup passage to it (possibly temporarily?)

cyrusfirheir commented 1 year ago

Sorry, there is no donation/sponsorship system set up for the project right now.

T3LT does not handle anything that is done by a Twee compiler, which includes handling of starting passages, toggling between play and test mode, etc. It is a possible future scope, however.

From a purely Twee perspective, the starting passage is set through the StoryData special passage, but things like test mode are format specific. From a compiler settings point of view (say, of Tweego), both are set as compiler options when running it.

jkendall327 commented 1 year ago

Hey, thanks for the reply. I would love to see this feature, but I respect having a clear scope for the extension. I only recently started trying out Tweego so I'll see if it can do what I want.

cyrusfirheir commented 1 year ago

Hey, I added a "Set passage as story start" command in the editor context menu in v0.20.0. Nothing in the Story Map yet, but this should be a start.

jkendall327 commented 1 year ago

Thanks, this seems cool!