For two folders images with the same size, the images should be packed in the same locations on the texture atlas pages, if you use the same settings. Note that some settings can ruin this, such as stripping whitespace (which I see you are not using).
对于具有相同大小的两个文件夹图像,如果使用相同的设置,则图像应打包在纹理图集页面上的相同位置。 请注意,某些设置可能会破坏此设置,例如剥离空格(我看到您没有在使用)。
Maybe it is a problem with 2.1.27, which is 5 years old. Can you please try packing with 3.8? If you still have the problem in 3.8, it would help if you can email us the images and pack settings. contact@esotericsoftware.com
可能是2.1.27的问题,它已经存在大约5年了。 您可以尝试用3.8包装吗? 如果3.8中仍然存在问题,可以通过电子邮件将图像和包装设置发送给我们,这将有所帮助。 contact@esotericsoftware.com
Thanks, we received the images. The problem is that you have alias
enabled, which avoids packing duplicate images. For example:
谢谢,我们收到了图片。 问题是您启用了“别名”,这样可以避免打包重复的图像。 例如:
Loading Image
When packing the first atlas, the two images on the left are identical, so only one is packed. Two entries appear in the atlas file with different names, but use the same atlas page region.
打包第一个地图集时,左侧的两个图像相同,因此仅打包了一个。 图集文件中出现两个名称不同的条目,但它们使用相同的图集页面区域。
When packing the second atlas, the two images on the right are different, so each is packed separately. That means that the second atlas has more images in its atlas pages, even though both atlases have the same number of named regions in the .atlas
file.
打包第二个地图集时,右侧的两个图像是不同的,因此每个图像都单独打包。 这意味着即使第二个地图集在.atlas
文件中具有相同数量的命名区域,它们的第二个地图集也具有更多图像。
If you have alias
enabled and you also enabled debug
, Spine will print which regions are the exact same. If you disable alias
, the atlases are packed the same.
如果启用了“别名”并且还启用了“调试”,Spine将打印出完全相同的区域。 如果禁用“别名”,则地图集将打包成相同的格式。