• RuntimesGodot
  • Convert SWF animation to spine animation

I am a fan game developer and I want to replicate an ancient Flash game. I plan to use the Spine animation engine for rendering work, but I only have some SWF game heritage in my hands. Is there a way to directly import. swf files or. fla files into Spine for use

My runtime is the official version of Godot 4.2.2
Spine version is 4.2. x

Spine does not support direct import of SWF or FLA files. To use animations from SWF files in Spine, you would need to convert the SWF animations into a format that Spine can import, such as PNG sequences or individual images for each frame. Once you have the images, you can import them into Spine and manually recreate the animations using Spine's tools. This process involves setting up the skeleton, creating bones, and animating them to match the original SWF animation.

Flash can export data, which could be processed to bring it into Spine (roughly), but doing that is a LOT of effort and would still need fix up. It would be much easier to rebuild the animations in Spine.

    Nate Thanks for your reply, my flash file is complicated, how do I export it to json? (As far as I know, spine supports json data.)

    Spine supports Spine's JSON format. Flash exports to their own format. You'd need to understand the Flash data and write software to convert it to Spine data. Flash features not available in Spine can't be converted.

      Oh, that's neat! I didn't know about that one. Great that it worked for you!

      2 ay sonra

      No direct way to get the animations form flash into spine. I have made a custom export script for Flash that helps bulk export library items. I find it helpful to be able to make / update the symbol's and easily export them for Spine.

        TheSunOfMan 请问脚本是公开的吗?如果是 我想看看它的具体实现