tutaj twoj kod, dopisz
GML
mp_potential_settings(360,6,15,1)
if collision_line(enemx,enemy,o_herohead.x,o_herohead.y,o_wall,false,false)
att=0
else
att=1
if att=1
mp_potential_step_object(o_herohead.x,o_herohead.y,6,o_wall)
alarm[0]=5*room_speed
GML (alarm0 )
alarm0:
att=0
o to chodzi?
Harv szybszy :/