• Editor
  • [Feature Request] Oriented Texture Packing

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

Hey! This is a simple request that's probably way too complicated to actually do, but I wanted to ask anyway just in the case my assumption was wrong.

Would it be possible to have an option on the texture packer to pack attachments in the orientation they appear in in the editor? I recognize there are a few hold-ups (like the slots being the things with the dimensions & orientations iirc), but I, again, still wanted to try my luck. I'd love to be able to pack my texture and pass it out for people to use, but it's a little hard to tell which piece is which in the current setup.


  • Alternatively, just an option to label the textures in the packed atlas would be awesome.

Hello, are you looking to create spritesheets?
If yes, then choose PNG export, export type: animation, enable packing, and set the packing to Grid instead of reclangles in the texture packing settings.
Export - Spine User Guide: PNG

If you just want all the parts you draw to not be rotated, uncheck rotation in the texture packing settings.
Texture Packing - Spine User Guide: Regions

Remember that you will need to pass both the resulting png and the atlas file, as in the atlas file people will be able to know which image is which and how big it is.

Adding to Erika's information, if you want the images exactly like they are in Spine, you can use PSD export. Each layer will be the attachment as shown in the editor. This is great for drawing new attachments, eg with a different perspective.

Image/video export can label the images, if you enable names in the main toolbar, then show Others for export. The texture packer can't though. It has a debug mode, but doesn't write the names, which could be larger than the packed regions.