/hammurabi-narrat

Primary LanguageJavaScriptMIT LicenseMIT

Narrat Template

Template app for Narrat.

✨ Bootstrapped with Create Snowpack App (CSA).

Usage

You can clone, fork or download this to get it in a local folder, then:

  1. npm install
  2. npm start

Building for the web

npm run build

Builds the app for production to the build/ folder. It correctly bundles Vue in production mode and optimizes the build for the best performance.

It should be easy to host the built result as a static website on a service like Netlify

Building as an app

This template has electron already setup to create a built app of your game.

To run it:

npm run electron

To build it (it will come out in the out folder):

npm run package

This should work on Windows, Mac and Linux

Narrat documentation

See docs

Changing game code

You can edit game code and config in the data folder (data/example.rpy).

See docs for more usage info

Available Scripts

npm start

Runs the app in the development mode. Open http://localhost:8080 to view it in the browser.

The page will reload if you make edits. You will also see any lint errors in the console.