[
///animation
//KyR = keyboard_check_direct(ord("D"));//||keyboard_check_direct(ord("D"));
//KyL = -keyboard_check_direct(ord("A"));//||-keyboard_check_direct(ord("A"));
//move = KyL + KyR;
//MXSPD = move * MXSPD;
//if (move!=0) image_xscale = move;
//image_speed = 0.5;
// if place_meeting_ext(x,y,z,par_solid)
// {
// if (move!=0) sprite_index = spr_hero_run; else sprite_index = spr_hero;
// }
//if keyboard_check_direct(ord("D"))
//{sprite_index = spr_hero_run;}else{sprite_index = spr_hero;}
//if keyboard_check_direct(ord("A"))
//{sprite_index = spr_hero_run;}else{sprite_index = spr_hero;}
//if keyboard_check_direct(ord("W"))
//{sprite_index = spr_hero_runU;}else{sprite_index = spr_heroU;}
//if keyboard_check_direct(ord("S"))
//{sprite_index = spr_hero_run;}else{sprite_index = spr_hero;}
/QUOTE]
trying to make animation for the character
I tried everything.
make the player change sprite when move or jump
no matter what I tried it just wont show the animation.