Skip to content
This repository has been archived by the owner on Sep 15, 2020. It is now read-only.

Latest commit

 

History

History
25 lines (17 loc) · 1000 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 1000 Bytes

Tweego Development

Develop Twine games without Twine, using Tweego.

Adapted from this project.

Check the Tweego docs for info on Tweego.

Setup

  • Make sure you have Node.js 6+ installed.
  • Run npm install in the project directory.

Usage

  • Create all your Twine files (in Twee notation) in the src directory, along with any HTML, CSS, Javascript, image or font files you need.
  • Run npm run build to generate your game page in the dist directory.
  • Run npm run watch to monitor changes to your src folder and automatically rebuild your game when you make changes.

Optional features

  • If you put JS files into the js directory instead of src, they will be compiled using Babel.
  • If you put SCSS files into the scss directory, they will be compiled to CSS using Sass.