alright to start it isn't as easy as the title says. I have a character that i recently made roll, but now another problem occurs when he rolls he completely ignores any solids! I have the object itself set to stop at all Solids, and all the roll does is speed him up for a split second and change his sprite to one of him rolling! can someone help?
heres the code i'm using for the roll:
C-Key:
global.roll = true;
Step Event:
if global.roll=true{
if keyboard_check (vk_up)
{sprite_index= sprLinkJumpU; speed = 4; direction = 90; break;}
else
if keyboard_check (vk_down)
{sprite_index= sprLinkJumpD;speed = 4; direction = 270; break;}
else
if keyboard_check (vk_left)
{sprite_index= sprLinkJumpL;speed = 4; direction = 180; break;}
else
if keyboard_check (vk_right)
{sprite_index= sprLinkJumpR; speed = 4; direction = 360; break;
}
sound_play (choose(sndLink_Roll_1,sndLink_Roll_2,sndLink_Roll_3));
}Animation End Event:
//Stop Rolling
if global.is_rolling= true or sprite_index =5{
if global.facing= "U"
{speed=0;sprite_index = sprLinkStandU;}
else
if global.facing= "D"
{speed=0;sprite_index = sprLinkStandD;}
else
if global.facing= "L"
{speed=0;sprite_index = sprLinkStandD;}
else
if global.facing= "R"
{speed=0;sprite_index = sprLinkStandD;}
global.roll=false;
}
is there anything interfering with the collisions of this object?











