HI, interesting tool for pack graphics in only one image

Previous topic - Next topic

mentalthink

Hi guys, well I think this tool it´s good, I don´t know about this type of applications... it´s simple, but I think effective... take a lot of image and puts correclty in another more greater image, making an ?¿Atlas?¿...

Well it´s totally free, and I think can be used whit loadanimation very well...
http://spritesheetpacker.codeplex.com/

A simple test.


PS: The Sprites not are ordened but it´s only for the name of each .png.
A very interesting point, it´s the size of the image, this it´s about 68K, and the add of every frame it´s about 220 Kb... I think a make a lbit more little the map...

Wampus

Good stuff mentalthink.  :) Very useful for packing sprites into a sprite sheet / texture atlas too. Free is always a big bonus. :)

There is a commercial sprite packing tool called Texture Packer I use sometimes. It has a lot of options that are useful to me. The sprite packing algorithm seems robust too.

Hmm, I just realised scaling sprites to a new sprite sheet before running an app could improve performance hugely on slower devices. Ideally you want 1:1 sprite drawing as much as possible. However, unless the resolution you work with is ideal then some scaling is necessary. With PowFish I scale all the sprites up or down each frame. No need to do that if I create a new sprite sheet when a new resolution is detected. To do that I'd have to use a bin packing algorithm like Texture Packer uses built into an app itself. Think I'll code the algorithm to do that today. If anyone needs it I can post it to the Math section.

MrTAToad



Wampus