Created
December 20, 2013 18:22
-
-
Save bzgeb/8059060 to your computer and use it in GitHub Desktop.
Texturepacker makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Usage I=infile O=outfile make sheet | |
sheet: | |
Texturepacker --format unity --data $(O){v}.txt --sheet $(O){v}.png --variant 1:@2x --force-identical-layout --variant 0.5:@1x --max-width 4096 --max-height 4096 --size-constraints POT --algorithm Basic --basic-order Ascending --basic-sort-by Name --pack-mode Best --border-padding 2 --shape-padding 2 --disable-rotation $(I) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment