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:
Non hai i permessi necessari per visualizzare i file allegati in questo messaggio.
krawa
  • Messaggi: 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.
Avatar utente
Nate

Nate
  • Messaggi: 11935

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
  • Messaggi: 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
Avatar utente
Nate

Nate
  • Messaggi: 11935

krawa

I understand, thank you very much
krawa
  • Messaggi: 3


Torna a Editor