krawa

Hello, I have a character to play with different types of weapons. These weapons will be used for other characters and I need to make a separate atlas with character elements and a separate one with weapons. Please tell me how to do it

animation examples:
У вас нет необходимых прав для просмотра вложений в этом сообщении.
krawa
  • Сообщения: 3

Nate

You can configure your character with the weapons you want, then export images and check Pack atlas. You'd need to do this for each weapon combination.

You could use a skin for each configuration, then export all skins. This is probably best since it removes the tediousness of the first option.

It would likely be better to export data and use the Spine Runtimes rather than exporting images though.
Аватара пользователя
Nate

Nate
  • Сообщения: 11949

krawa

@Nate I don't understand what you mean. I export my animations to JSON and create an atlas with all the elements of the character and weapons, but I need to somehow separate that there were two separate atlases one with weapons and one with the character. Is it possible to do so or if you need to use another program to do this, please advise how to do it, thank you
krawa
  • Сообщения: 3

Nate

Ah, I see. Don't run the texture packer as part of data export. Run it separate twice, once for your character and once for your weapons. See here:
Texture packing - Spine User Guide: Running the texture packer separately
Аватара пользователя
Nate

Nate
  • Сообщения: 11949

krawa

I understand, thank you very much
krawa
  • Сообщения: 3


Вернуться в Editor