Left-side Viewport commands
Audio commands (music and sounds)
Saving and Reloading
Language syntax and expressions
Old Template method
Theming the game and UI
Installing Narrat in a web app
Editing a narrat game
Building and exporting your game
Publishing on Steam (Steamworks integration)
Example narrat script
Narrat frequently updates with new features, improvements and fixes, so it is advised to keep up to date.
Before updating, it is worth noting that there is a
on GitHub showing what's been changed in recent versions.
When there is a
(that is, a change in the engine that requires a game developer to change something in their game to not break), it is mentioned very clearly in the changelog.
When updating to a new version, it's a good idea to at least check for
in the changelog
There are many new features frequently added to narrat which aren't always documented, so looking at the changelog can be a way of discovering new features.
How to update
The narrat version used in a game is the one specified in the
part of the
file at the root of the game. For example:
narrat version example
To update, simply run the command
in the terminal, which will pick up the latest released version.
Otherwise, it is also possible to put a specific version number in
and then run
to install that version.
To find out what versions exist and which is the latest released, visit the
npm page for narrat
Guides - Previous
Next - Guides
How to update