Skin Reference
This table shows all sections and parameters in a skin file. The first column is the name of
the parameter. The DIR in some parameters is actually four parameters where DIR is replaced
by Up, Right, Down and Left repectively.
In the second column, M is for mandatory and O for an optional parameter.
[DESCRIPTION] |
Title |
M |
The title of the skin |
Copyright |
M |
The name of the skin creator |
Email |
O |
E-mail address of the skin creator |
Url |
O |
Skin creator's web site |
[SKIN] |
Type = 2 |
M |
Skin type |
Floor |
M |
Index to the floor image |
Goal |
M |
Index to the goal image |
Outside |
O |
Index to an image that is used outside the actual level.
(Defaults to floor) |
|
|
Man |
M |
Index to the man image |
- One OR Both - |
Man_DIR |
M |
Man running in DIR direction |
Note! If only the four Man_DIR images are present, the man will
remain in the direction he last was when he stops moving. If the Man image also is
present, the Man image will be shown after a short delay.
|
|
|
Man_Goal |
O |
Index to the man on goal image (default is Man) |
Man_DIR_Goal |
O |
Man running in DIR direction on goal. (Defaults to Man_DIR or Man) |
Push_DIR |
O |
Man is pushing in DIR direction. (Defaults to Man_DIR or Man) |
Push_DIR_Goal |
O |
Man is pushing in DIR direction on goal. (Defaults to Man_DIR_Goal, Man_DIR or Man) |
Pack |
M |
Index to the package image |
Pack_Goal |
M |
Index to the package in goal image |
|
|
Wall |
M |
Index to the single wall image. The skin must have either
the Wall parameter or all of Wall_0 to Wall_F |
- OR - |
Wall_0 .. Wall_F |
M |
Indices to the sixteen connecting wall images. The skin
must have either these parameters or the single Wall. See below for a
description of the sixteen images. |
|
|
Wall_Top |
O |
Index to the wall top image |
Wall_Top_X |
O/M |
Offset to the right for the wall top image. Mandatory if
Wall_Top is present. |
Wall_Top_Y |
O/M |
Offset to downwards for the wall top image. Mandatory if
Wall_Top is present. |
Man_Marker |
O |
A symbol to use for marking possible places to run to. |
Pack_Marker |
O |
A symbol to use for marking possible pushes. |
Transparent |
O |
A string of 0's and 1's. Each 1 makes that image transparent.
The string must be as long as the number of images. |
Background_File |
O |
Path to external background image file. Note! Only this or BACKGROUND section may be present. |
|
|
Image_File |
M |
Path to external image file |
- OR - |
[IMAGE] |
|
M |
This section contains an embedded skin image. |
|
|
[BACKGROUND] |
|
O |
This section contains an embedded background image. Note! Only this or Background_File may be present. |
The sixteen wall images Wall_0 to Wall_F are shown here. Those familiar with binary
and hexadecimal values will see the pattern. Four bits representing neighboring walls,
up, right, down and left. Up is the least significant and left the most significant
bit. See the table below.
Nr | LDRU |
Nr | LDRU |
Nr | LDRU |
Nr | LDRU |
0 | 0000 | 4 | 0100 | 8 | 1000 | C | 1100 |
1 | 0001 | 5 | 0101 | 9 | 1001 | D | 1101 |
2 | 0010 | 6 | 0110 | A | 1010 | E | 1110 |
3 | 0011 | 7 | 0111 | B | 1011 | F | 1111 |