Texture Packer has a command line tool, which means that you can run it as a shell script in Automator. This means that you can get sprites from the Automator and automatically build spritesheets using them.
Why would I want to do this? Why can’t i just use Texture Packer with all its lovely GUI?
Because well for me, I process the sprites first using Automator, before I pack them into spritesheets. Also this is a quick way to not set all the different Texture Packer settings each time (yes, I know you can use Save Defaults for settings).
But double-clicking on my Automator app, and then select my sprites, and wait for it (it’s actually pretty quick) to automagically spit out spritesheets is still faster (and it only requires like 2 to 3 clicks), and it even supports multipack (in case the sprites doesn’t fit in just one spritesheet)
This is my (partial) Automator workflow:
A big shout out and thank you to Andreas Lowe for replying to all questions on Twitter, and helping me whip out that Shell Script.
This Automator app requires the Pro version of Texture Packer as well.
That’s it!
Sorry for not posting anything since creating this new blog in January, that’s because I temporarily moved back home (hello, Manila).