- Modificato
What about shared sprites between skeletons?
Hey pals,
Kudos on the new version of Spine. It was 99% awesome, now it is 100%!
We've got a question that is kinda puzzling us, because we don't know what would be the correct aproach.
Lets say you have 2 skeletons. Each of them have different skins. So far so good.
Let say, each of those, use weapons. Same weapons for the 2 skeletons.
What we do now, is having the weapons, the sprites, in each atlas for each skeleton. That means, two copies of the weapons. I mean, two atlas: One containing 2 skins + weapons, another containing 2 skins + weapons.
TL;DR
What we would like is to have a single big ass atlas for all weapons. And use those in any skeleton we want. Is that possible?
TY in advance!
You can write your own AttachmentLoader so you can find the region for each RegionAttachment in any atlas you want:
http://esotericsoftware.com/spine-using ... s/#loading