SOLVED [Spine] draw_self works but not draw_sprite(sprite_index,image_index,x,y)

patchuby

Member
Hello,

I'm using Gamemaker 2.3.2.426.
I have trouble with drawing the spine sprite. Before I used skeleton functions to draw sprite but now I need to mix animations so I need to fix this problem.
The sprite draws fine using draw_self() but when using anything else (even simply draw_sprite(sprite_index,image_index,x,y which you theoretically do the same) , the sprite is invisible except for a little shadow at the bottom of the characters feet.
I'm using a placeholder spine asset that was done in a previous version of Spine from the one I used to export the json and atlas files. Could that cause this problem ?

I would be happy for any pointers. Thanks !
 

Nocturne

Friendly Tyrant
Forum Staff
Admin
Moderator
I'm using a placeholder spine asset that was done in a previous version of Spine from the one I used to export the json and atlas files. Could that cause this problem ?
Yes. Before exploring any further options, I'd definitely update everything to the current recommended version ( Spine runtime 3.7 ) and export the sprite again.
 

patchuby

Member
Yes updated it works now.
Though I do still observe some strange behaviour when using draw_self() twice, though that's another matter !
 
Top