.narfiles that contain the branching narrative of the game
.yamlfiles that contain config data about the game
publicfolder from the root of the game. This public folder is a folder for static assets which will be added to the final build. A narrat game is effectively made of config files and assets that are all inside this folder.
public/datafolder of the game, there is an
example.narfile (or named differently depending on which template you used). This is where the actual game dialogue is written. The example dialogue there shows how to use a few basic features, so you can easily start writing your own dialogue. Just above is a link to the example narrat script page to find more examples as needed.
data/example.narbut any amount of scripts can be added to the list and they will all get loaded.
characters.yamlfile contains the config for all characters that can speak in the game. They should all at least have a name value, and an
idlesprite. The sprite is used for displaying character portraits during dialogue, and the value should be a file path relative to the
imagesPathvalue defined in the config part of this file
colorvalue in the
styleproperty of the character (the value can be any valid CSS color).