Separate names with a comma.
Discussion in 'Game Development (Technical)' started by Danimal, Sep 14, 2007.
Anyone know a simple program to take a bunch of separate sprite and combine them into one image?
Thanks, I'll check it out.
I'm using GIMP's 'montage' command. Don't know if it has as many options as those other apps, but its working well for me, and is of-course scriptable.
I wrote something that can put a bunch of images in as few as possible larger images (this is called 'bin packing'). It's a part of the CasualSkin project on sourceforge (a 2D engine for casual games, which had no official release yet).
The bin packing program is a stand-alone console application. It takes an xml file as input. The format of the xml file is described in the user guide (p13 and further).
The source code can be found here:
You will have to compile it yourself. It depends on TinyXml, libjpeg, libpng and zlib. It has been tested under windows, but it will probably also work for most other operating systems.
To obtain the user guide, you can download the latest latex source and compile it. It can be found here:
There's also a precompiled version of the user guide, which can be found here:
If there are any questions related to using, compiling or modifying this software, feel free to post in the forum of the project on sourceforge: