Open msinia opened 13 years ago
msinia asked in e-mail correspondence:
How long do you think this might take you to implement? I forked the project and I'm considering hacking it together myself, as I'm currently needing it.
It should be relatively easy to implement, would require some massaging of the pipelining surrounding the packer so that it can have several modes -- these "pack vertically" and "pack horizontally" modes could be selectable via spritemapper.packing = horizontal
or so. Also for this feature not to fall into obscurity an effort documenting it should probably be made.
I would highly recommend keeping the recursive tree structure currently used, so as to avoid reimplementing too much. Also, it would make very little sense to anneal a solution that is either entirely vertical or horizontal as no improvement can be made whatsoever (there is only one solution.)
In short: go ahead, swing by #yostudios
on freenode if you have any further questions.
There's currently no support for spritemaps that include only images that repeat on the X or Y axis. This is simple to do, by putting all the images either vertically or horizontally respectively on the spritemap.
This should be pretty straightforward to implement and is rather useful when you're trying to have the least amount of requests.