ID:173608
 
Is there some way that I could create a program that puts shadows of a certain shade behind each turf? I'm not looking for examples, just wondering if it was possible to do that without putting a shadow icon behind every turf. (The shadows are important to the game.)

Thanks,
Aleis

opacity = 1

this will give shadow to the turf you see. all depends which turf you insert that to. For e.g

turf
door
BLAH
BLaH
opacity = 1
In response to Gozenko
Thats not what I mean. Sorry, I should've been more specific. I mean just another tile that shows shadow. The shadow will effect the NPC's, not your view. So the shadow extends off.. a wall for 2 tiles, for example.

Thanks,
Aleis
In response to Aleis
Well, you could have a proc that handles this at runtime with get_step(), but as your world gets bigger, its going to take longer to load your world. Also, you might consider making inside and outside /area's so shadows don't happen on the insides of buildings. As for mobs, you'd be better off adding an underlay than to start affecting turfs around them.
In response to Aleis
Aleis wrote:
Thats not what I mean. Sorry, I should've been more specific. I mean just another tile that shows shadow. The shadow will effect the NPC's, not your view. So the shadow extends off.. a wall for 2 tiles, for example.

Thanks,
Aleis

ok i understand your question :) well if you check this demo, you will able to figure out how to make the shadow thingy you talking about

http://developer.byond.com/hub/Buzzyboy/ShadowDemo
http://developer.byond.com/hub/Vortezz/Shadows

produce the code and if it doesn't work, then dont hesitate to ask on newbei forum, we here to help every one.

Gozenko