Spine

Version and Performance

Spine and Editor Version Compatibility Table

Galacean VersionSpine Version@galacean/engine-spine Version
≤ 1.2Spine 3.81.2.0
1.3Spine 4.2engine-1.3
1.4Spine 4.2engine-1.4
1.5Spine 4.2engine-1.5

Performance Recommendations

  1. Use binary files (.skel) for exporting skeletons. Binary files are smaller in size and load faster.
  2. Minimize the number of atlas pages by packing attachments into as few texture atlases as possible. Organize attachments in atlas pages according to rendering order to avoid unnecessary material switches. Refer to: Spine Texture Packer - Folder Structure for guidance on arranging atlas regions in your Spine atlas.
  3. Avoid using clipping features. Spine's clipping is implemented via dynamic triangle trimming, which is computationally expensive.
  4. Limit the use of atlas page textures. Aim to keep the number of exported texture images to a minimum (ideally one).
  5. Share a single atlas texture across multiple skeletons when possible. For example, add multiple skeletons to the same Spine project and select a single atlas during export. This allows multiple skeletons to reference the same atlas texture.

Questions

For any questions about Spine, feel free to create an issue in the @galacean/engine-spine repository.

Was this page helpful?