• Runtimes
  • Scalling for Game Maker

Hi there!

I'm having some problems trying to scale animations with Spine.

When I export the project, I set the Output Scale to 0.5, but when I load the project in Game Maker, the Width and the Height of the animations didn't change, but the quality (the Alpha, I think) of the image did... which is not what I want 🙁

I tried to import the data to my Spine program, I set the scale to 0.5, but only the Skeleton was modified, not the images.

Is there any easy way to scale any JSON for Game Maker? I was thinking about importing the JSON with a 0.5 scale, and then modify the PNGs with Photoshop (it would be easy, but quite slow since I have to to this with many animations).

Thanks in advance for any help 🙂 (sorry about my ugly English, I hope that everything is clear).

Related Discussions
...

The JSON is never output scaled. You can set a scale when you load it for when you are using images that are a different size than what you used in Spine. You can set a scale when you pack a texture atlas which will scale the images you are using. Eg, if you export an atlas scaled to 0.5 then when you load the JSON data at runtime to use that atlas, you should use a scale of 0.5.

Nate wrote

The JSON is never output scaled. You can set a scale when you load it for when you are using images that are a different size than what you used in Spine. You can set a scale when you pack a texture atlas which will scale the images you are using. Eg, if you export an atlas scaled to 0.5 then when you load the JSON data at runtime to use that atlas, you should use a scale of 0.5.

Thanks Nate for your answer, I'll try it when I return to home 🙂