Skip to content

Skin Composition for Character Customization

Latest

Choose a tag to compare

@maxgribov maxgribov released this 06 Oct 19:37
f3fecdc

Build character outfits from independent clothing, hats, accessories, and team details while reusing existing animations.

  • Compose ordered skin layers with overlay, full slot replacement, and explicit hiding.
  • Apply outfits atomically while preserving animation progress, pose, pause, color, and draw order.
  • Restore hidden parts according to the current animation state.
  • Validate compositions without creating a Skeleton and inspect skin contents through public APIs.
  • Keep outfits independent across Skeletons sharing one compiled asset.

Available through SpineMeshAsset and Skeleton(meshAsset:). Composition supports region attachments; base slots containing non-region states remain protected. Existing single-skin APIs remain available.

Validation: 193 tests, one skipped, zero failures; 32 example outfits validated; six paired rendering scenarios matched their controls exactly.