New AutoSD features

Placeholders

TexturePacker's Multipack and AutoSD features create multiple output files during a Publish:

Multipack writes multiple atlases if there are more sprites than would fit into one single texture

AutoSD writes multiple resolution output files

To save you from entering single file names for each of the variants - TexturePacker derives the names for you.

With 3.1.0 we introduced Multipack using simple placeholders in the file names to write the additional files.
Before TexturePacker 3.2.0 AutoSD replaced parts of the original file name with variant specific extensions.
E.g. replacing -ipadhd in the filename with -hd.

With 3.2.0 we've now changed the behavior of AutoSD to give you a better and more consistent way to specify file names - by also using placeholders instead of the replacement.

Placeholder

Description

{v}

Scaling variant name

{n}

Multipack index, starting with 0

{n1}

Multipack index, starting with 1

Example 1

Assuming that your sprites are for a Retina display iPad, name the data and texture files like
sheet{v}.plist and
sheet{v}.png.

Open the AutoSD dialog and enter the following values. Press + to add more variants.

Scale

Variant name {v}

1.0

-ipadhd

0.5

-hd

0.25

empty

To speed things up you might instead select the preset cocos2d ipad/hd/sd and press Apply.

AutoSD will filter your sprites and put all sprites with @2x in a spritesheet called @2x,
all sprites with iPhone in a spritesheet called iPhone and so on.
You can also concatenate several search terms with , to have them packed into one spritesheet.

The filters will be processed longest first, so if you filter sprites by @2x-iPhone they wont
appear on your @2x or your iPhone spritesheet.