saleklar Perhaps you have already checked out this, but if you have not read it, you may want to read the "Image resize" section of the Spine User Guide, which describing about the options available when resizing an image file that a mesh attachment uses: http://esotericsoftware.com/spine-meshes#Image-resize
However, this section is a bit outdated and the current options are Keep size
and Stretch
instead of Yes
and No
. When you resize an image file with a different ratio, choose Stretch
. Then, change the scale X/Y values of the mesh attachment according to the difference in scale between the original image and the new image, modify the translate X/Y values of the mesh attachment, and modify the positions of the vertices. This allows you to utilize the original mesh to some extent without having to redo the mesh settings from scratch.
Let me explain the actual procedure with Spineboy. I have extended the hair in Spineboy's head.png upwards and resized in height only:
This change will be detected by Spine and the following dialog will appear:
Select Stretch and press the OK button, and the head image is squeezed to maintain the original image size (It may be difficult to notice in this image alone, but if you focus on around the ear, you can find that there is a misalignment between the goggles and the ear.):
Apply the ratio of the difference between the height of the image changed to the scale value of the mesh attachment:
The position is still misaligned, so modified it to match the ear’s outline to the goggles:
Finally, adjust the position of the vertices in mesh edit mode to complete the process. Although this requires manual modification, I was able to complete this process in a few minutes by box selecting some of the vertices and moving them together.
If the difference in size between the original image and the new image is very large, or if the image is quite complex, it may be more difficult to fix the vertices in this way than redoing the mesh settings from scratch.
I hope this is of some help to you.