- 수정됨
My Atlas file is not JSON, should it be? Trying Spine+Ss2D
Hello,
Is the ATLAS file written out by Spine, supposed to be written as JSON?
I was trying to get Spine and Ss2D to work together, but from what I can tell, Ss2D is EXPECTING the Atlas file to be a JSON file.
However, the Atlas that is actually exported by Spine, looks like this:
character1_spine.png
size: 1024,128
format: RGBA8888
filter: Linear,Linear
repeat: none
char1_abdomen
rotate: true
xy: 187, 55
size: 71, 137
orig: 71, 137
offset: 0, 0
index: -1
char1_torso
rotate: true
xy: 272, 17
size: 36, 54
orig: 36, 54
offset: 0, 0
index: -1
char1_eyebrow
rotate: false
xy: 2, 5
size: 14, 4
orig: 14, 4
offset: 0, 0
index: -1
...
atlas is stored in the "LibGDX Atlas" format.
what's ss2d?
Smoothstep2D
it is compatible with Spine supposedly:
see http://galloman.github.io/ss2d/manual/index.html#skeletons
Compatible with some well known content creation tools like BMFont / GlyphDesigner for bitmap fonts and Texture Packer for texture atlas.
Ah. It wants Texture Packer atlases. Those come out as JSON.
https://www.codeandweb.com/texturepacker