Skip to content
Thai Pangsakulyanont edited this page Feb 26, 2015 · 1 revision

About Skins

A skin is an XML file describing the user interface of the game. They are precompiled from .jade files to be able to write in a more beautiful language and reducing the work client-side.

Files

Inside the skin folder, public/skins/default you will find several files:

  • skin_template.jade — Jade file containing the skin template.
  • skin_data.yml — YAML file containing global variables for use in the skin template.
  • gulpfile.js — Build script.
  • skin.xml — Generated .xml file for use in game.

Workflow

Prerequisite: Install Gulp

npm install -g gulp

First, cd to the skin folder:

cd public/skins/default

Run Gulp to compile skin:

gulp
Clone this wiki locally