Files
happening/docs/SYNTAX.md
T
2026-05-18 13:49:35 +01:00

961 B

Syntax

Setup

This is done in the about.json file,

{

"title": "My Great Story",

"description": "please read!"

}

Characters

See Character documentation for more info Referencing a character using the @, @NARRATOR is reserved for the Narrator.
Customisation is done with @CHARACTER change <feature> into <feature name>
Move a character with @CHARACTER to fr

Note

fr means front-right for instance.

Outputs

@CHARACTER says "this string
is multi-line
and ends with a"

Variables

Variables are referenced with the $, only integers will be supported.

Selection

Condition based:

if (condition) {

}

elif (condition) {

}

else

}

Choice based:

choice "choice 1" {

}

or "choice 2" {

}

or "choice 3" {

}

Positioning

@CHARACTER to position

PAN to position

Other

label:

GOTO label

Ending

END to exit out of the story