- Изменено
Skeleton Viewer Can't View MultiSkeleton Project
I have a spine file with multiple skeletons out putting to a single atlas. In skeleton viewer however the images don't render, leaving blank boxes. You can see animations and color shifts, but the images themselves are broken for some reason. Any help with this? I've created a very minimal test using default settings outside the single atlas json render. Spine is 3.8.97 and Skeleton Viewer is 3.8.94. The skeletons share the same image path and reuse the same image attachment names.
SkeletonViewer looks for the atlas using a simple naming convention: it wants the atlas to have the same name as the skeleton data file. Some variants of the same name are also found (eg name.atlas
and name-pma.atlas
). You can rename your atlas just so you can get Skeleton Viewer to find it. I'll make a note that we should allow the atlas file to be specified explicitly.
Nate написалSkeletonViewer looks for the atlas using a simple naming convention: it wants the atlas to have the same name as the skeleton data file. Some variants of the same name are also found (eg
name.atlas
andname-pma.atlas
). You can rename your atlas just so you can get Skeleton Viewer to find it. I'll make a note that we should allow the atlas file to be specified explicitly.
That'd be great. To be genuinely honest I'm curious how mutli skeleton with the "single atlas" option is supposed to work if it generates only 1 file. Is there something I'm not understanding with how that export option is supposed to work?
I got it working by copy+pasting the atlas several times and simply renaming them to the skeletons. Thanks.
Example from main file I'm using this for:
droptimal написалI'm curious how mutli skeleton with the "single atlas" option is supposed to work if it generates only 1 file. Is there something I'm not understanding with how that export option is supposed to work?
There isn't usually a need for Skeleton Viewer to load skeleton data and an atlas that contains the images for multiple skeletons. Skeleton Viewer is a simple tool that uses spine-libgdx to load and display a skeleton. It is useful to make sure things are working correctly using spine-libgdx, which is the reference implementation that all the other runtimes are based on. In your actual application you can easily load a single atlas and have all your skeletons use it.
BTW, I'd suggest to enable the Windows setting so you can see file extensions. Things can be very confusing when Windows hides your file extensions.