Every Monogatari game starts from the starter game: a folder with the engine, a tiny sample story and everything a game needs to run. You make your game by changing it.

Download it

The starter game comes as one ZIP file, monogatari-v2.9.0.zip (about 3 MB). The number in its name is the version of the engine inside. Get it from either place; it’s the same file.

Your browser saves the file in your downloads folder.

Unzip it into a folder of its own

A ZIP file is several files packed into one, so they download together. Before you can use them, you unzip (or extract) it: your computer unpacks the files into a normal folder.

This ZIP file has no folder inside it. Its files (index.html, the js folder and the rest) sit at the top of the ZIP, so where they land depends on the tool that unzips them:

  • Windows’ Extract All and macOS’ Archive Utility make a new folder named after the ZIP file, monogatari-v2.9.0, and put the files in it. That’s what you want.
  • Other tools may put the files straight into the folder the ZIP file is in, mixed with whatever else is there. Some Linux file managers, phone apps and “extract here” options do this.
  1. Find monogatari-v2.9.0.zip in your downloads folder.

  2. Unzip it. How depends on your system:

    • Windows: right-click the file, choose Extract All…, then Extract.
    • macOS: double-click the file.
    • Linux: right-click the file and choose your file manager’s extract option. If it offers to extract into a new folder named after the ZIP file, pick that one.
    • A tablet or a phone: open the file in your file manager and choose its extract option. If it has none, use an app that extracts ZIP files.
  3. Check that you got a folder. You should see a new folder called monogatari-v2.9.0 next to the ZIP file, with index.html inside it.

    If you see index.html, js, engine and the others loose in your downloads folder instead, your tool didn’t make a folder. Delete them, make a new empty folder, move the ZIP file into it, and unzip it there.

  4. Move the folder somewhere you’ll find it again, such as your Documents folder, and rename it after your game if you like: the name of the folder doesn’t matter to the game. This tutorial calls it your game folder.

WARNING

Windows and some phones can show what's inside a ZIP file without unzipping it, as if it were a folder. Don't open the game from there: the files aren't unpacked yet, and the page can't find the rest of the game. Extract first, then open the folder it creates.

You can delete the ZIP file once you have the folder.

What’s in the folder

Open your game folder. You’ll see these:

monogatari-v2.9.0/
├── index.html      the page that is your game
├── js/             your story and your game's settings
├── style/          your game's styles (colors, fonts, sizes)
├── assets/         your images, music and sounds (empty for now)
├── engine/         Monogatari itself
├── types/          descriptions of the engine for code editors
└── …               a few more files for optional tools

Most of the work happens in js/, and The project folder explains every file. The folders inside assets/ are empty, except assets/icons/: you’ll fill them with your own pictures and music.

NOTE

Each empty folder in assets/ holds a file called .gitignore. Its name starts with a dot, so most file managers hide it. It only keeps the empty folder in the download, and the game never reads it: leave it, or delete it, as you like.

Next

Open your game and see the sample story run.