how to load spine files? #9526
Unanswered
norflin321
asked this question in
v8 General
Replies: 1 comment
-
I don't think Spine is supported yet in v8. Is that right @GoodBoyDigital? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using pixi.js version 7.2.4 we can load spine asset like this
PIXI.Assets.load("spine/spineboy-pro.json")
and response is
{ spineData: SkeletonData3, spineAtlas: TextureAtlas }
which later can be passed to "pixi-spine@4.0.4" package to create working animation.But in pixi.js version 8.0.0-alpha.1 method
PIXI.Assets.load("spine/spineboy-pro.json")
just parses the json file and returns it as object{skeleton: {…}, bones: Array(67), slots: Array(52), ik: Array(7), transform: Array(8), …}
.what changes in
PIXI.Assets.load
method led to this behavior?how can i reproduce the same response in the new version?
Beta Was this translation helpful? Give feedback.
All reactions