Well I'm lost. I can't figure out how to make my player switch to spr_player_run, I do it in the step event, but it keeps calling it so it doesn't animate.. Can someone please help me?
Here is my player step event.
//Gravity
if (place_free(x,y+1))
{
gravity_direction=270;
gravity=0.6;
}
else
{
gravity_direction=270;
gravity=0;
};
//Jumping
if (keyboard_check(ord("W")))
if !place_free(x,y+1)
{
vspeed=-6.4;
};
//Movement Right
if (keyboard_check(ord("D")))
if (place_free(x+4,y))
{
x+=4;
y=y;
image_xscale=1;
};
//Movement Left
if (keyboard_check(ord("A")))
if (place_free(x-4,y))
{
x-=4;
y=y;
image_xscale=-1;
};
Sorry if its messy.. :I
Thanks for the help!