Hi,
in my game the players can customize their character. For example they can change the shoes and the head of the character. The animation will stay the same. Whats the best workflow to achieve such behavior with Spine?
Thanks in advance
Hi,
in my game the players can customize their character. For example they can change the shoes and the head of the character. The animation will stay the same. Whats the best workflow to achieve such behavior with Spine?
Thanks in advance
Put all the images that can be shown in slots. Eg, in the shoes slot you'll have an image for red shoes, Nikes, Reeboks, etc. At runtime, set the attachment for each slot. In Unity get the skeleton from SkeletonComponent, then skeleton.SetAttachment("slot name", "image name"). Eg, skeleton.SetAttachment("shoes", "Nikes"). You may want to have one "item" as it appears to your players actually be multiple images. Eg, slot "left shoe" would have the "Nikes left" image and "right shoe" would have the "Nikes right" image. Your game will need to know about all the items and what images should be shown in what slots for each one.