Enjoy BYOND? Contribute today!
Apr 12 2009, 5:48 am (Edited on Apr 12 2009, 8:01 am)
There used to be a demo that showed how to dither tiles blocked by opacity, like this:
But I can't find it anymore, does anyone know how to to this or how opacity is calculated?
Apr 12 2009, 7:11 am
I'm not sure if this is an efficient way to attempt the problem, but I'd go with setting the player's sight accordingly, then create an "eye" mob to follow the player can compare both oviews, in order to gain the "black area".
Create and destroy an image with ~125 alpha for every turf in the list upon movement.
This system relies on several assumptions, so it might not be plug and play.
Copyright © 2013 BYOND. All rights reserved.
Terms of Service