-
Notifications
You must be signed in to change notification settings - Fork 147
Editing Skins
Thai Pangsakulyanont edited this page Feb 26, 2015
·
1 revision
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.
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.
Prerequisite: Install Gulp
npm install -g gulp
First, cd
to the skin folder:
cd public/skins/default
Run Gulp to compile skin:
gulp