Using Texture Packer
Texture Packer is a tool that can drag and drop images and publish. With the use of this tool, we can not only create sprite sheets, but also export multi sprite sheets. If there are a lot of sprites, then we need to use the command line tool when we create sprite sheets, encrypt them, and so on. In this recipe, you can use Texture Packer.
Getting ready
Texture Packer is a paid application. However, you can use the free trial version. If you don't have it, you can download it by visiting https://www.codeandweb.com/texturepacker
How to do it...
You need to launch Texture Packer, after which you will see a blank window appear.
In this recipe, we will use these sprites as shown in the following screenshot:
You simply need to drag the images into the Texture Packer window and it will automatically read all the files and arrange them.
And that's it. So let's publish the sprite sheet image and
plist
to click the publish button. That's how you can get the sprite sheet image and...