How to make skins for Sokoban
- - - - - - - - - - - - - - - - - - - - - - - -
Below is the prototype of a skin *.ini file, the place where all the information about the skin is sorted. You can add *.ini files in notepad.
[header]
name=
author=
copyright=
description=
website=
email=
[background]
image=something.bmp
color=FF0000
[tiles]
real_width=24
real_height=16
width=16
height=12
combined_file=something.bmp
transparent_color=FF0000
ground=0 32
object=0 16
object_store=24 16
store=48 16
mover_up=72 0
mover_left=24 0
mover_right=48 0
mover_down=0 0
mover_up_store=72 0
mover_left_store=24 0
mover_right_store=48 0
mover_down_store=0 0
wall=72 16
wall_u=72 16
wall_d=72 16
wall_l=72 16
wall_r=72 16
wall_u_d=72 16
wall_u_l=72 16
wall_u_r=72 16
wall_d_l=72 16
wall_d_r=72 16
wall_l_r=72 16
wall_u_d_l=72 16
wall_u_d_r=72 16
wall_u_l_r=72 16
wall_d_l_r=72 16
wall_u_d_l_r=72 16
In the header section, you can fill in your skin information, like it's creator and a small description. In the background section, you can define your background by either defining the image path, or defining a colour. If you enter both, the colour will be ignored. If you chose an image, it will be tiled. In the tiles section, all the magic happens. After combined_file you must give the name of the bitmap, that contains all other images. This file must be in the same directory. If you want to add a 3d-effect, you can give up a width and height that differs from real_width and real_height. A good example of this, can be found in the MS-DOS skin. If you have transparent parts in your skin, you can enter it after transparent_color. Next you must enter the x and y coordinate for every image. If you want to use the same image for a different objects, you can just enter the same x and y coordinate. If you have any questions, don't be afraid to contact me.
|