Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this questionUntil now I have been making my own 10开发者_开发百科24*1024 sprite sheets by placing the images in an 64 x 64 grid to help to identify easily the position and size of each sprite.
Needless to say, it works but i'm wasting a lot of space.
Is there any kind of tool to help me take separate sprites in .png format and generate sprite sheets of any dessired size with them ?. even better if it also generates a file with information about size and coordinates of each sprite.
Thanks.
I read about Zwoptex in Michael Daley's book Learn iOS Game Programming.
http://zwoptexapp.com
Is something like CATiledLayer
what you need? I does not contain info about each tile, but it is the way maps and large zoom functionality is usually implemented.
There are a number Ruby implementations on github. While they generate CSS and or HTML, it would be possible to take these one stage further and convert it into an XML file. Would make a nice little tool...
Here's a simple texture packer in Python.
You can use Sprite Master to do this. It's trimming feature allows you to use minimal space for your sprite sheet. It also exports coordinate data for your sprite sheet in different formats (Generic XML, Cocos2D, Corona, LibGDX, Sparrow, CSS Export)
There is also texturepacker from codeandweb.com
http://www.codeandweb.com/texturepacker
精彩评论