sharkk Im back, what you said worked, I made some changes so the atlas file so it references a png and that solved one of the errors, but im still getting these two: Here are the contents of res.data: https://cdn.discordapp.com/attachments/868251125432877097/1079775129191583744/res.json Do you know why this is happening?
SilverStraw sharkk You don't have any data URL prefixes ( data:[<mediatype>][;base64],<data> ) in your rawDataURIs? https://github.com/EsotericSoftware/spine-runtimes/blob/4.1/spine-ts/spine-player/example/embedding-binary-example.html https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs
sharkk SilverStraw No, do they have to be there? i removed them because someone told me they were not needed π
sharkk Well... after adding them the errors were solved.. im so sorry π But now i get another one: Do you know whats the cause of this?
SilverStraw sharkk All bones must have a valid name in the Spine binary. What version of the Spine Player are you using? I noticed you have a version 3.8.59 Spine binary.
sharkk SilverStraw How can I check the spine player version? I got it by building it from the spine-runtimes/spine-ts repo, so i guess its the latest
SilverStraw sharkk Yes, it should be what ever branch you got the Spine player from. Do you have the original Spine files? JSON export would be much easier for human to locate the problematic bone(s).
sharkk SilverStraw How would i go about turning the skel file into a json? Do i download spine and load then export again or do i have to use something else?
SilverStraw sharkk You can try to import the skel file into Spine but the version have to match for each. The skel file had to have been exported with non-essential data or it won't import I believe.
sharkk SilverStraw Yeah, the files' version doesnt match with the current spine, do you know if theres any other way to convert the skel into json? Ive tried loading it with another package called pixi-spine (The character doesnt load with that either) and i've logged the skeleton to json, it has an array of bones, etc. Would that be useful?
Nate You can run the old version of the Spine editor, import, save the .spine project file, run the new version of the editor, and export. This can also be done via the command line, eg if you have many files.
sharkk Nate Sorry for all these deleted questions.. I managed to solve it. But one last thing, why is the quality of the animation so bad? animation-badquality.mp46MB Here's how it should look (recorded from another website) animation-normalquality.mp4627kB
Nate I guess you mean the quality of the lightning bolt. I can't really say. Does it look right in the Spine editor?
sharkk Nate Yeah, ive also tried other files and its always the same issue, in other places it looks just fine
Mario Did you export with pre-multiplied alpha? What is your pre-multiplied alpha setting for the player?
sharkk Mario They were not exported with pre-multiplied alpha, I've read that it comes enabled by default in spine player, how can i disable it?
sharkk sharkk Nevermind, adding premultipliedAlpha: false to the player constructor worked perfectly. Thanks a lot to all of you who helped me here π