• Editor
  • Rulers Guide Lines, Image Center - Bone

  • संपादित
Related Discussions
...

Hi Nate,

1) In order to precisely position bones relative to each other it would be really helpful to be able to create guide lines as it is done in PS or AI.

2) Is there a way to center a bone to image center? How can we find out where is center of an image and position its bone there?

Thank you, Marek.

Hello,

  1. While the guides feature is already planned, you can already precisely position bones. An easy way is to parent a bone to another, select the parent axis, and use numeric input to distance them. this is also made easier with the use of relative values.

Tools - Spine User Guide: Axes
Tools - Spine User Guide: Numeric entry

  1. Parent the image to the bone, then select the parent axis and look at the translate coordinates of the image. Add or subtract those values using relative input in the translate fields with compensation active on the parent bone to achieve perfect placement.

Hello Erika,

Thank you for your reply. Yes we know we can do it this way but hope you guys have a better aligning solutions in the queue. Or give us some kind of information on the canvas about width, height and corners position? Switchable Local and Global?

Hello Marek,

Sure, guides should help aligning in the future.
Regarding canvas information, consider the units in the editor are pixels. The Spine editor expands from the origin point and it doesn't have limits so there can't be canvas and corner information. On export you can define the portion to export and its size:
Export - Spine User Guide

If you find PS tools to be more useful for planning your scene, you can create your setup in there, and se the [bone] tag to create a bone centered on the first layer inside the folder named with this tag. This may be a great help for your case. I guess 2x2 pixel images may be great to help with the placement. (with odd numbers, I think the bone would be placed at 0.5 instead of a round number in Spine)

Regarding switchable Local and Global, you can already do this with the axes: Tools - Spine User Guide: Axes
Unless you mean something different, in which case I need more context.

I hope the PS script solution will work for you! The script has become quite powerful. Make sure to get the latest version and read the complete list of available tags here:
spine-scripts/photoshop at master · EsotericSoftware/spine-scripts