C
Chrisss
Guest
I'm pretty new to Game Maker, and have been using Spine for my animations for my first project. Everything has generally been going well, but I have run into a big issue.
Whenever I add more images to my Spine animation project (eg. more types of armor to equip for my RPG) and then export the .json again to re-upload into Game Maker, the sprite comes in all jumbled up despite working before I added more images to my Spine animation.
I am assuming this is because adding images to the Spine project causes the exported .png that goes with the .json to be changed and re-arranged to include the new sprites.
Is there some way to fix this? I have made a bunch of animations for my character (all walking directions etc.) with the intention of adding more and more weapon/armor sprites to my Spine file as I make them and code in the items so they can be equipped into the various equipment slots in my Spine file. However it seems that I would need to have all the sprites I would ever use already in my source image folder before I start making my Spine project in order to not break anything, and then I couldn't add anything after if I needed to without remaking all my animations.
The odd thing here is that I have also added new images into some other Spine projects without having this issue, though it seems to happen more often than not.
I know there is a way to add sprites to Game Maker and run code to attach them to slots, but this is very unrealistic considering there will be about 6 slots of gear each with their own sprites, multiplied by at least 12 different animation sprites I would have to attach them to, times 20+ sets of equipment. Having all the items in the Spine file is much easier.
Hope someone can help!
Whenever I add more images to my Spine animation project (eg. more types of armor to equip for my RPG) and then export the .json again to re-upload into Game Maker, the sprite comes in all jumbled up despite working before I added more images to my Spine animation.
I am assuming this is because adding images to the Spine project causes the exported .png that goes with the .json to be changed and re-arranged to include the new sprites.
Is there some way to fix this? I have made a bunch of animations for my character (all walking directions etc.) with the intention of adding more and more weapon/armor sprites to my Spine file as I make them and code in the items so they can be equipped into the various equipment slots in my Spine file. However it seems that I would need to have all the sprites I would ever use already in my source image folder before I start making my Spine project in order to not break anything, and then I couldn't add anything after if I needed to without remaking all my animations.
The odd thing here is that I have also added new images into some other Spine projects without having this issue, though it seems to happen more often than not.
I know there is a way to add sprites to Game Maker and run code to attach them to slots, but this is very unrealistic considering there will be about 6 slots of gear each with their own sprites, multiplied by at least 12 different animation sprites I would have to attach them to, times 20+ sets of equipment. Having all the items in the Spine file is much easier.
Hope someone can help!