• Editor
  • Exporting different animation sets at preset size

Related Discussions
...

Hi everybody.

First of all, I'd like to apologize if my question would result into being extremely naive as I'm relatively new to Spine and I still need to get an hold of a lot of features.

The issue I'm experiencing is with exported sprites size.
I'm exporting PNG sequences to be coded with no JSON and such.

Spine logically crops them according to how much space the animation takes, and while this represents an advantage in terms of disk usage, it really is less consistent in terms of time spent re-aligning animations.

So my question is:

is there a way to set a size (like 400x400) for exporting and have Spine cropping all of the sprites according to that no matter how much space the animation takes (even for those that would take, say, 200x400)?

Thanks in advance...

The only way known of for now is to make a transparent png of the size you need and place it so that it covers all the animations you need to export.
I personally used this method and it works (:

Erikari escreveu

The only way known of for now is to make a transparent png of the size you need and place it so that it covers all the animations you need to export.
I personally used this method and it works (:

You're a life saver...That worked!

At first I thought about a mental solution involving filling a layer with color and then hiding the alpha channel with code.
Luckily enough it can be done with transparent layers too. Silly me. lol

Thanks a bunch!!!