Creating new skins
Prev
Next

Chapter 5. Creating new skins

KsirK is fully skinable. For who have graphic capabilities, creating a new skin is as simple as copying an existing one, editing or changings the graphics and updating the data in a XML configuration file. A last step is to edit the file describing what to install.

All examples (text and images) are taken from the default skin of KsirK

Structure of directories and files

  • Data/ : Data used by the program to handle the images of the skin.

    • Makefile.am : Describes what to install.

    • onu.xml : Main file for the description of the skin. See its description below.

  • Images/ : The images of the skin (map, sprites, etc.)

    • Makefile.am : Describes what to install.

    • map.png : the map used in this skin.

    • map-mask.png : the image allowing the program to find which country the mouse is over during the game (see below).

    • *.png : the other images here are the buttons images.

    • sprites/ : This directory contains the images defining the sprites (armies and flags). See below.

  • Makefile.am/ : Describes what to install.

  • Sons/ : sound files for the skin.

Prev
Next
Home