I created a character, and since the game program can only use frame-by-frame animations during runtime, I need to export the character's upper body and lower body as two separate groups of frame sequences. I saw the Spine script feature and was wondering if there are any statements in the script that allow me to choose a part of the skeleton for export?
Can the spine export script specify exporting a part of the skeleton?
Spine does not support exporting only a part of a skeleton directly through its export script or command line interface. The export process in Spine is designed to handle entire skeletons, and there is no built-in functionality to specify a subset of a skeleton for export. However, you can manage different parts of your character by using separate animations or skins and then exporting the entire skeleton. At runtime, you can choose which parts to display or use in your game. If you need to export specific parts as separate frame sequences, you might need to manually adjust your project to isolate those parts before exporting.
lihuipeng49 As Spinebot answered, it is not possible to specify the export target when exporting from the CLI, however when exporting from on the editor GUI, it is possible to include or exclude attachments from the export by checking or unchecking the Export
option for the attachment, so I believe you can export a specific set of attachments that you want to group by adding a specific prefix or suffix to the attachments you want to group, specifying this in the Find and Replace
window, pressing the Select
button and checking or unchecking the Export
options all at once.