Available on PC and Mobile -------------------------------------------------- You are the green box. The NPC is the red box. The NPC will walk around the wall but if it sees you, it will stop and look at you until you leave its field of vision. -------------------------------------------------- To move, press the arrow keys or press anywhere on the screen. To see the NPC's vision, click on the NPC. The blue lines show what he sees. Pressing on the gray wall will increase its field of vision. Clicking on your player will increase its vision quality (the higher it is, the laggier).
This is a project attempting to add vision to an NPC so that NPCs can detect things it can see without seeing through obstacles.