E
Endless
Guest
Hello everyone. I was messing with this option and i have two draw_sprite_ext. One for the player body, with facing, and no sprite animation. In second, i want to add legs for the player but how to animate it? The legs show when i move, but doesn't animate. Thanks in advance.
Code:
//Body
draw_sprite_ext(sprite_index, 0, x, y, image_xscale, image_yscale, Facing, image_blend, image_alpha);
//Legs
if speed > 0 {
draw_sprite_ext(spr_legs, image_index, x, y, image_xscale, image_yscale, Facing, image_blend, image_alpha);
}