Hello,
I'm new to game maker 2 and coding in general. I'm trying to slowly learn how to use GM2, and i'd like to use Spine to make the animations for my characters, and playing with the possibility of changing the skins of the characters while keeping the animations.
I'm using spine 3.7,94 as i've read that it was the supported version for game maker.
I have an issue when trying to test an animation of a sprite in an empty room. I've imported the .json sprite (with the .atlas in the same directory), created an object with this sprite, and dragged it into the room. If i just do that, the game starts alright, but nothing appears. Just black screen. I've tried draw_self without success, i've read about skeleton_animation_set(), but when i enter the name of the animation in the brackets, the game gets an error for not finding this name anywhere in the game.
Saddly, all the tutorials i can find online are for previous versions of either game maker 2 or spine.
Do you know how i could fix both the sprite not appearing in game and the animation's name being unrecognized? Is there an obvious code line that i don't know about?
I'm probably using all the wrong words i'm sorry, i'm very much a newbie and not a native english speaker.
Thank you for any help, i'd love to make some progress!
I'm new to game maker 2 and coding in general. I'm trying to slowly learn how to use GM2, and i'd like to use Spine to make the animations for my characters, and playing with the possibility of changing the skins of the characters while keeping the animations.
I'm using spine 3.7,94 as i've read that it was the supported version for game maker.
I have an issue when trying to test an animation of a sprite in an empty room. I've imported the .json sprite (with the .atlas in the same directory), created an object with this sprite, and dragged it into the room. If i just do that, the game starts alright, but nothing appears. Just black screen. I've tried draw_self without success, i've read about skeleton_animation_set(), but when i enter the name of the animation in the brackets, the game gets an error for not finding this name anywhere in the game.
Saddly, all the tutorials i can find online are for previous versions of either game maker 2 or spine.
Do you know how i could fix both the sprite not appearing in game and the animation's name being unrecognized? Is there an obvious code line that i don't know about?
I'm probably using all the wrong words i'm sorry, i'm very much a newbie and not a native english speaker.
Thank you for any help, i'd love to make some progress!