dapcikatistis Hello! How can i get the sizeX and sizeY of a sprite in a sprite sheet? For now i divide the size of a spritesheet by number of sprites in a column or row. But if spine would give it to me directly, i will be a happy developer.
Erika This information is stored inside the .atlas file. I'm not a programmer so I can't be of much use, but usually the magic code people would parse the atlas file. We can also wait for someone like Pharan or Badlogic for a better response though >.>
Mario @dapcikatistis what engine/runtime are you using? There shouldn't be a need for you to read sprite sheets yourself, as our runtimes take care of this.
dapcikatistis i use unity. I take the png file and make it multiple sprite in unity. But as i understand, i must use the atlas file directly?
Erika Yeah the best thing for unity is to export in json with an atlas file not packed in grid but atlas (Therefore not a spritesheet but a proper atlas file that will use spine's runtimes). You should look these links: Spine-Unity Runtime Documentation: Importing into Unity spine-runtimes/spine-unity at 3.6
dapcikatistis oh well actually i get it but it seems the question i asked is lacking information. The thing is i want to use a spine animation in unity UI. But unity ui doesn't use mesh renderer. So i am using a spritesheet instead of spine runtime. How can i use spine with unity ui?