Jump to content

TexturePacker runtime script?


Mike018
 Share

Recommended Posts

Is it possible for texture packer to take all the assets in the project, create an atlas, then spit it out the atlas in a separate folder on runtime using a script? As of now, I have to click publish atlas every time an asset changes.

Link to comment
Share on other sites

You can use TexturePacker from the command line. There are 2 basic use cases for this

  1. Create and save a .tps file - use the command line to publish it: TexturePacker *.tps
  2. Create the complete atlas from command line 

The first one is much easier because you don't have to know all the parameters and you can preview the atlas in the UI.

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...