GML
mp_potential_step(o_herohead.x,o_herohead.y,6,solid);
GML
mp_potential_settings(360,6,15,1)
if collision_line(enemx,enemy,o_herohead.x,o_herohead.y,o_wall,false,false) && alarm[0]>0
att=0
else
att=1
if att=1
{
mp_potential_step(o_herohead.x,o_herohead.y,6,solid);
alarm[0]=5*room_speed
}
alarm[0] =... powinno być w warunku ;p
//Teraz to już w ogole zle zrobiłem, sorry