Closed warycat closed 10 years ago
WHen I export only a skeleton.skel appears no .anim files are exported 6 • Reply•Share › Avatar Vibrunazo wreed12345 • 6 months ago I know I'm 6 months late, but just in case this is helpful to anyone else reading this in the future. They're constantly changing Spine, now the anim data is no longer a separate file, it's now included inside the skeleton data. To load it in code you use the .findAnimation method from the SkeletonData class:
walkAnimation = skeletonData.findAnimation("walk");
It seems like new version Spine is no longer to generate .anim data. But a .skel file (which is a binary file). And in the post, it seems like we need to use that piece of code to load animation.
Could you try using that code to load animation in our project ? btw. I have committed a new style of SSL. Is that one ok ?
Before you try to load animation, please check this page: http://software-workshop.eu/content/spine-binaries-libgdx-how-get-started
We need to write new codes for loading new version spine animation.
There are minor differences in the format of the animation files. example spine demo page image link spineboy.png image atlas spineboy.json animation spineboy.anim
@yxun your output image file is good. The atlas file is not in json format. The content in the atlas file is good but it is in yml format. The animation file is good, but change the file extension the same as the example.
.png .json .anim
You don't have to touch the app folder, I can still update the spine files in image_src. I will move your file accordingly.