ID:1168714
 
(See the best response by Kaiochao.)
Hello BYONDers,

I am trying to implement an FOV, ROS type of system into my game but I don't know enough of BYOND and it's language to decide whether or not I can use a built in proc, or if I'd have to write my own code.

Basically, what I am trying to achieve, is having the user only be able to see, say, 2 tiles in every direction, and everything else will be black.

I tried playing around with view, but that only changes the screen size, which I want to stay the same.

Has anyone seen this done before? And can they help push me in the right direction?

Thanks in advance,

Balt
Best response
Set /area.luminosity to 0 and your player's see_in_dark to 2. You can check out the DM reference for these variables and related variables.