UofTMADLab / reach

A VR format for Twine
0 stars 0 forks source link

Allow default text panel content in a passage #60

Closed titaniumbones closed 4 years ago

titaniumbones commented 4 years ago

As I've been working with reach, I find I often create a passage whose raison d'etre is to present a text in an appropriate environment. Twine is after all usually an environment for text-based games or projects.

So it's a bit confusing that text content in a normal passage is not rendered by reach, and instead has to be inserted into a separate pseudo-passage text or HTML panel. This also has the effect of making the project structure more complex -- each scene in my projects is a pernt for a number of leaf nodes, and sometimes I get a little bit lost (this is in gneeral a problem with Twine for me).

SO I'm wondering if we could add a syntax for default text passages, maybe something like this:

{"direction":3,[etc etc]}'''
passage text content goes here
'''

I haven't looked at the regexes you have already built, and maybe something else would be better, but I think this is a feature worth adding. If it's easy, it might also be nice to have something like:

{"direction":3,[etc etc]}<<<
passage html content goes here
>>>

Under the hood, you'd just be making text and html panels, but they could live inside a smaller number of passages.

What do you think?

titaniumbones commented 4 years ago

oops, sorry I double-posted #59, closing