我在命令行中使用 TexturePacker,无法将多个精灵打包到一张纸上。它允许我做 1 个精灵,所以命令很好。
这是我正在使用的命令。
"TexturePacker --format sparrow --texture-format atf --opt DXT5 --max-width 2048 --max-height 2048 --size-constraints POT --pack-mode Best --enable-rotation --trim-mode修剪 --algorithm MaxRects --multipack --border-padding 5 --shape-padding 5 --reduce-border-artifacts --scale " + sheetInfo.scale + " --data " + imageOutputDirectory + "\" + lanfPrefix + "\" + sheetInfo.name + ".xml" + "--sheet" + imageOutputDirectory + "\" + lanfPrefix + "\" + sheetInfo.name + ".atf image1.png image2.png";
任何想法为什么这不起作用?根据文档,它应该可以工作。