- java
- gradle (
sudo apt-get install gradle
)
$ git clone https://github.com/mmitch/choicescript-graphviz.git
$ cd choicescript-graphviz
$ make
java -cp /path/to/choicescript-graphviz/build/classes/java/main Main /path/to/choicescript/scene.txt > output.dot
Note: The output can be viewed with xdot
or other graphviz software.
- spontaneous idea
- had some fun coding
- works so far
Not all ChoiceScript parameters are implemented yet. I don't know if they ever will be.
Note that text nodes are shortened to T[character_count]. The first part of the text will be displayed as a tooltip.
- implement missing commands
- *comment
- *else
- *elsif
- *gosub
- *goto_scene
- *hide_reuse
- *input_text
- *return
- *temp
- *if between *choice and #selection
- show *disable_reuse on #selection graph edge
- show *selectable_if on #selection graph edge