In the previous article, we mentioned the problem that the picture must be 2 n Times Square. But with the continuous improvement and development of LIBGDX, the use of some tools can be a good solution to such a problem, but its function is not limited to this, then let us look at the use of Texturepacker-gui tools, we call it as a picture integration tool.
Introduction of Texturepacker-gui
Texturepacker-gui is a visual version of the Image Integration tool. The utility of this tool is very simple, is a small picture integrated into a large picture, in the big picture package to find the picture. And through the use of Texturepacker-gui tools we can completely solve the use of not 2 of the N-second side of the picture.
Download address for Texturepacker-gui
It is best to download the Texturepacker-gui 3.1.0 version, which is a stable version, as shown in the following figure:
Second, the use of Texturepacker-gui
1, after downloading, unzip it. After decompression, you will find that there is a "test me! folder, click Open to have an input and output folder, which is responsible for processing the picture. In the input folder, put in the picture you want to pack, and output the picture and pack file. As shown in the figure: