Plugin: https://marketplace.coronalabs.com/plugin/texture-packer-helpers
Docs: https://roaminggamer.github.io/RGDocs/pages/Plugins/texturepackerhelpers/#texture-packer-helpers
I think that most developer here will recognize that Texture Packer by CodeAndWeb is the #1 go-to-solution for packing textures into Sprite Sheets.
However, they will also recognize that many developers are on a limited or zero-dollar budget. So, while I strongly suggest that you buy and use Texture Packer if you can afford it, I don’t look down on folks who simply can’t afford it.
In fact, I want to help them.
This is the release announcement for a low-cost ($5) plugin that was inspired by this thread. Initially I strongly suggested that the user pay for Texture Packer, but eventually I realized I was wrong to push so hard.
Use Any Of Four Sprite Sheet (Texture Packing) Tools
This plugin allows you to create sprite sheets with these four tools:
- PAID Texture Packer
- FREE ShoeBox
- FREE Free Texture Packer 0.2.4
- FREE Leshy Sprite Tool
Write The ‘Same’ Code
Then write essentially the same code to load and use them for making: image sheets, images, and sprites.
For example, this is the code to create a new image sheet using the four different tool outputs:
-- Create Image Sheet with Texture Packer Sprite Sheet local sheet = helper.newImageSheet( { definition = "slots", image = "slots.png" } ) -- Create Image Sheet with ShoeBox Sprite Sheet local sheet = helper.newImageSheet( { definition = "slots", image = "slots.png"} ) -- Create Image Sheet with Texture Free Texture Packer 0.2.4 Sprite Sheet local sheet = helper.newImageSheet( { definition = "slots.json", image = "slots.png" } ) -- Create Image Sheet with Leshy Sprite Tool Sprite Sheet local sheet = helper.newImageSheet( { definition = "slots.txt", image = "slots.png" } )
The plugin is fully documented here and comes with step-by-step instructions on how to export your sprite sheets with each tool, including images (some shown below).