Closed gevhambarzumyan93 closed 5 months ago
Hi, we are only trying to copy what is in the official spine runtime repo. If you need a specific example made please add your issue to the main project:
I already find the solution so could you add it to your example files if i pass it to you?
I already find the solution so could you add it to your example files if i pass it to you?
Do you have the one? Can you share please ?
Do you have the one? Can you share please?
this handles the main part
const attachmentLoader = new AtlasAttachmentLoader(Assets.get(atlas));
const spineJsonParser = new SkeletonJson(attachmentLoader);
const skeletonData = spineJsonParser.readSkeletonData(Assets.get(skeleton));
this.spine = new Spine(skeletonData);
Do you have the one? Can you share please?
this handles the main part
const attachmentLoader = new AtlasAttachmentLoader(Assets.get(atlas)); const spineJsonParser = new SkeletonJson(attachmentLoader); const skeletonData = spineJsonParser.readSkeletonData(Assets.get(skeleton)); this.spine = new Spine(skeletonData);
thanks!!
Problem
It is a bit hard to handle JSON. (I tried with Raptor and almost broke my monitor.)
Solution
Please create an example JSON file. (You already added a Raptor asset for that.)