• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

json and optimized sprite for animation

Didjynn

Member
Hello world,

I have an "optimized" sprite with all the pictures I should have in my animation. Since it is quite big, I would like to optimize the sizes with sprite optimizers, but it means I won't be able to strip the image with gamemaker's editor. It means the character can be vertical, horizontal and the top images can be the last images of the animation, etc.

It gives me a json file, I suppose it gives each position and order of each image. The thing is, I don't really know how to use it.

I'm using spine and I'm also able to get a .atlas file for the exported spritesheet. Same problem than with the json, I don't know how to use that and even if gamemaker can use that type of file.

If anybody have a tip to give, thanks for that.

Cheers
 
Last edited:

Didjynn

Member
I found my answers here :
https://docs.yoyogames.com/source/d...ut sprites/importing skeletal animations.html
and here :
https://docs.yoyogames.com/source/d...assets/sprites/skeletal animations/index.html

Thanks for reading me, I hope it will help.

Still, if I may ask, is skeletal animation heavier than spritesheets ?

I'm making a game with a lot of characters (200 or more) moving on the screen, I'm afraid about optimization. I thought I could change the spritesheet to smaller ones if I was zooming out and bigger ones if I was zooming in. But if I don't mistake I can't do that with skeletal animation right ? It's always has heavy.

Thank you for your time
 
Top