egarayblas wrote:Another nice thing would be to combine sprites and images with "almost" the same colors in one imagemap and then others into another and let them share the same palette. This will decrease the filesizes of your images. However, this doesn't matter much to PNGs, but I still save a few hundred KBs by doing this.
Putting several sprites in one file is a well known techniques for videogames...
My engine use a format that enable the loading of all the sprites in an image with only one call to the loading function.
Example :