Unity3d using the Texturepacker Packaging tool to make a Ngui (Atlas) Collection

Source: Internet
Author: User

Transferred from: http://www.unitymanual.com/thread-37485-1-1.html

Because Ngui Atlasmaker to the optimization of packaging is not good, easy to play a large atlas, many parts are wasted, all currently use Texturepackage to optimize packaging atlas

1, first download texturepackage tools, online cracked version of the website can also be downloaded to use the free version, https://www.codeandweb.com/texturepacker/, then the simple installation is not too much introduction.


2, open our Texturepackage tool, ready our pictures, I use the resources pictures from the Internet,



Then the full selection drag to the right end of the Texturepackage tool, Texturepackage will automatically fill you, the rest is to set the picture,


Ps: NOTE!

Size to select pot

ALGORIHM to select Basic



3. The next step is to import texturepackage generated PNG and txt into our unity project, as well as import the Ngui plugin. Then we create a Ngui atlas, we select a picture in our project directory right-click Ngui->open, and after that create a gallery prefab, this time Ngui will help us create the good one map, Now all we need to do is to remove the texture image from the Ngui created Atlas, and then import the PNG image and TXT file we used to generate the texturepackage.











4, so that we can use texturepackage packaging to generate good compressed images and txt create Ngui Atlas, for texturepackage benefits we can go to their official website to see that the optimization of the game has a certain help.

(go) unity3d using Texturepacker Packaging tool to make Ngui (Atlas) collection

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.