• Runtimes
  • Does the Javascript runtime support FFDs?

Trying out pixi js with the javascript runtime, and my non FFD animations run fine, but when trying to display one with FFD's, I get the error:

Uncaught Unknown attachment type: undefined pixi.dev.js:11358
spine.SkeletonJson.readAttachment pixi.dev.js:11358
spine.SkeletonJson.readSkeletonData pixi.dev.js:11315
PIXI.JsonLoader.onJSONLoaded pixi.dev.js:12844
ajaxRequest.onload

Is it something I'm doing right, or is it not in completely yet? The spine.js is from 6/11/14

Thanks!

Related Discussions
...

The latest javascript runtime should support FFD. Not sure about pixi.js since it's a third party runtime, might be better to ask the author of pixi.js

Yeah, I downloaded the latest javascript runtime (pixi js seems to just use that file), it mentions FFD, but it errors out when using it. I removed FFD from the animation, and it works fine now- scaling works close enough for what I'm doing.

(and the latest js one has the same date on it as the pixi.js version)

Afraid it's not something I can help with. Nate is back from vacation though and should be able to shed some light on it once he gets to this thread. Sorry for the wait 🙁

10 jours plus tard

Ah, no problem, I just got rid of FFD's and it worked fine. It looked like the spine.js did support it, but it looks like pixi.js doesn't actually reference that file- they just copied it mostly into their file, and that was missing the FFD code.

But I'm used to Java/C++ with being able to split up your files nicely/ find references to functions/classes easily, so going through the javascript was relatively slow.

spine-js has FFD but AFAIK none of the runtimes extending it, which do the actual rendering, are able to render meshes.