First will be node number, which has to be unique integer. Node number 0 is reserved for exit.
If image is to be change keep the image location inside <>.
Write the texts normally you can also have newline characters. But not in the action texts. Any consecutive white spaces will be ignored. Feel free to use them to manage the story syntax.
NOTE: Not implemented yet.
You can have dynamic texts like character names and such. use them inside {}. If you want to specify the user to enter the dynamic variable enter it with $ character. inside braces {}.
If you want delay between the texts insert number between [] like in the example below. The unit for delay is in milliseconds. You can also use this to show a series of multiple images.
Write the node number it should go now inside (). Write choices with () and text can have multiple paths available. All choices should be written in a single line. Whether it is single or multiple the user is asked to choose/continue.
Newline character will end the node when actions has been detected. If the newline is found before any actions then it is just considered part of the text and has no effect.
Also you can’t break the lines between the actions, as it will consider the node to be finished when it reads a action on a line.
The examples are inside the data directory.
- Make a storyline checking program (for dangling endpoints).
- Make it generate compiled code from the story if possible.
- Add sound effects (parallel execution)