wilmer
Member
Greetings to everyone in the community
Look, I need help in this, I make my animations with Spine, I export them and I post them as a single sprite in GMS, and I would like to know if I can use sprite_index, to call both that sprite and its different animations; if the main functions to call its animation are skeleton_animation_set and skeleton_animation_get () or draw_skeleton, which I can not use with sprite_index.
Example:
Whether in a Step, Create or Script event, use:
Look, I need help in this, I make my animations with Spine, I export them and I post them as a single sprite in GMS, and I would like to know if I can use sprite_index, to call both that sprite and its different animations; if the main functions to call its animation are skeleton_animation_set and skeleton_animation_get () or draw_skeleton, which I can not use with sprite_index.
Example:
Whether in a Step, Create or Script event, use:
Code:
// animation to be still
sprite_index = spr_character
// animation to be dead
sprite_index = spr_character
// animation to be attacking
sprite_index = spr_character