koniption23
Member
Hello all when I am trying to animate using spr_index I either get results that when I press the right key the animation freezes then plays on release or the animation plays and player is stuck I have verified both the collision mask and the sprite origin but to no avail. heres one of the code variations I tried
if(xprevious<x)
{
image_index=0;
sprite_index= run_test;
image_xscale=1;
image_speed=1}
if(xprevious>x)
{
image_index=0;
sprite_index= run_test;
image_xscale=-1;
}
if(xprevious<x)
{
image_index=0;
sprite_index= run_test;
image_xscale=1;
image_speed=1}
if(xprevious>x)
{
image_index=0;
sprite_index= run_test;
image_xscale=-1;
}