I don’t think Animate CC can export animations in a format that we support (for example FBX).
You have two main options:
Export animations into FBX format. You can create animations in a tool like 3DS Max, Maya, Blender or Cinema 4D. These can be imported directly into PlayCanvas.
Use a separate animation tool like Spine, Creature or another to create 2D animations then you will need to support playback in PlayCanvas. For Spine we have a plugin which works on the 2.X version of Spine (waiting on them to update their JS runtime to 3.0). Creature can export to FBX which supports some of their features, but for all features you’d need to implement a runtime.
I suspect it exports a complete WebGL application which performs all the rendering itself this isn’t really compatible with PlayCanvas (which also performs the rendering task).
It is possible that you could load the export files .fla, textures and other data. But you would need to understand the format and implement something which was able to playback the animation in PlayCanvas. I don’t think that Adobe have this idea in mind with Animate files. Is the format documented anywhere?
What I mean is that Animate exports a bunch of files which define the images and the animations and other information. They also some a bunch of code which plays back this information. Basically you have there an Editor (Animate) and an engine (flwebgl.Player I guess). You may notice that this is similar to PlayCanvas (Editor & Engine). So that is why it’s hard to combine them. We’re both doing very similar things.
With something like Spine or Creature they export the data and they provide an integration (runtime) with other engines. This makes it easier to integrate into PlayCanvas as they aren’t trying to do any of the rendering.
Yeah, It’s better to use spine, I’ve been “playing” a bit with your spine “heroes” project and definitely, we’re switching. Much easier and results are beautiful. Thanks @dave , we’ll use Animate only ir HUDs and so on. (Overlaping canvases…)
By the way, how can I manipulate speed/frames/playback direction (reverse, forward) with your plugin? is the same way as with FBX animations?