Comments (5)
That looks like a bug, because Trizbort.io does support up/down directions. It's exporting them wrong. You're welcome to contribute (see also issue #12).
from trizbort.
I can see that Trizbort at this point does not export up/down directions to quest. However, this information is available to export. If I could have a sample Quest XML snippet that shows what the code should look like, I can add the export.
from trizbort.
I'd be interested in the "secret sauce" to that myself.
I was unable to get "up/down" exports working in general.
Am I right to assume CodeGenerator.dirToStr(dir: Direction)
has to be extended to also accept ConnectorType
for this to work properly?
from trizbort.
@Happy-Ferret Yes. dirToStr
should probably be moved out of CodeGenerator, since it might be pretty specific per adventuring system. Indeed, the trick is to find the Direction
, and also look at the ConnectorType
to see if it's a special case.
Trizbort thinks in terms of 16 directions. The cardinal ones (N,NE,E, ...) and also (NNE, NSE, ...). Any direction may be marked as special. That is, up/down or in/out or even something custom.
For Tads 3 code generation, the Tads generator should have its own dirToStr
that performs this check and generate the correct code. For Quest, similar, although I just looked into that and couldn't (quickly) find what Quest expects to find in its XML.
from trizbort.
Up/down and in/out support is now available for all generators. dirToStr
now takes ConnectorType
to make this possible.
from trizbort.
Related Issues (20)
- Installable (Progressive Web App) HOT 2
- Desktop app HOT 3
- HTTPS on trizbort.io HOT 4
- Source maps aren't working in Chrome Dev Tools
- Scroll bars HOT 1
- Add favicon HOT 1
- Add mac shortcut keys to keyboard help
- Save state continuously; don't wait for unload
- Opening room popup after shift-arrow selects room + connection HOT 1
- Change the default map style back to Diagram HOT 2
- Canvas looks blurry on HiDPI (retina) displays
- Clicking on a connector dot makes a teeny tiny connector HOT 5
- Object loading fails HOT 1
- Hand-drawn style jitter
- Make hand-drawn option available in Render Settings
- Export more map info and notes as code comments
- Inform 6 export support HOT 2
- Word wrap doesn't always work properly
- Export as image yielding blank png HOT 1
- Feature Req: Room Images (Thumbnails)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trizbort.