Hi, here is what I am working on and everything is ok: robot.netlify.app
A strange thing happens after I cropped the transparent edges of the enemy sprites (SHIFT+Crop).
The enemy does not recongnize anymore the walls.
Here is the link: roboterror.netlify.app
[attachment=1:38jdeige]robot_ss_1.jpg[/attachment:38jdeige]
[attachment=0:38jdeige]robot_ss_2.jpg[/attachment:38jdeige]
I don't know what is wrong.