When you save a pack a definitions file
will also be saved in the same folder as the pack.
This file contatins information on each of the images in the
pack.
The name of the definitions file is the
same as whatever the packs filename is (but with a .def
extension)
So, if you save your pack as mysprites.png the
definitions file will be called mysprites.def
The definitions file itself is a standard text file.
The first line in the definitions file
shows the filename of the associated image pack.
Each packed image has an entry enclosed inside {}:
{
name of packed image
X position in pack
Y position in pack
width of image
height of image
number of animation frames across
number of animation frames down
border type
border size
}
|