K
Kirpy
Guest
if (!place_meeting(x,y+1,oGrass3))
{
sprite_index = ninja_blue_jump
image_speed = 0;
if (sign(vsp) > 0) image_index = 1; else image_index = 0;
}
else
{
image_speed = 1;
if (hsp == 0)
{
sprite_index = ninja_blue_idle;
}
else
{
sprite_index = ninja_blue_run;
}
}
for some reason the run animation and idle animation does not work at all. the sprite will change correctly but it does not go through the slides of the sprites. please help.
{
sprite_index = ninja_blue_jump
image_speed = 0;
if (sign(vsp) > 0) image_index = 1; else image_index = 0;
}
else
{
image_speed = 1;
if (hsp == 0)
{
sprite_index = ninja_blue_idle;
}
else
{
sprite_index = ninja_blue_run;
}
}
for some reason the run animation and idle animation does not work at all. the sprite will change correctly but it does not go through the slides of the sprites. please help.