• Editor
  • Copying assets/animation from one project to another

Hi there! Im very very new to Spine and was wondering if someone could help.

I'm trying to add some animated elements (they're sparkles and simple fx) from one project to another. But when I drag the slots/bones from one tree to the next it deletes all of my keys. Im hoping to re-use elements from other projects.

Any help would be great!

Related Discussions
...

To copy animated elements such as sparkles and simple effects from one Spine project to another, you should use the "Import Project" feature. Here are the steps to do this:

  1. Export the JSON: First, export the project containing the animated elements to JSON format.
  2. Import the JSON: In the target project, use the "Import Project" feature to import the JSON file. This can be done by clicking on the Spine logo in the upper left corner, selecting "Import Project," and then choosing the JSON file you exported.
  3. Select the Animation: During the import process, you can choose to import specific animations. Make sure the bones, slots, and attachments in both projects have matching names to avoid issues.

Here is a useful link for more detailed instructions: Import - Spine User Guide: Project.

Keep in mind that if the bone names, slot names, or attachment names do not match between the two projects, the import may not work correctly. You may need to manually adjust these names to ensure they match.

If you encounter any issues, such as losing keys when dragging slots/bones, it is likely due to mismatched names or missing elements in the target project. Ensuring consistency in naming conventions between projects can help mitigate these issues.

Import Existing Skeleton

When you drag across skeletons it moves the items, so they are deleted from the skeleton they came from. You could duplicate the skeleton, then drag from the duplicate, then delete the duplicate. You could also duplicate the skeleton and then modify it to be something else.

Dragging items across skeletons can work, though it may not bring everything across. The various items have lots of dependencies, so it's a much more complex problem than it likely seems at first. Bones and other items have keys, constraints have bones and slots, etc. Import Data and Import Project may help, as Spinebot mentioned.

Thanks @Nate and @Spinebot ! That's really appreciated, I'll try those ideas out.

Cheers!