Dynamic Lighting

by Forum_account
Dynamic Lighting
An easy way to add dynamic lighting to your game.
ID:2508565
 
I don't know why, but where I have the day/night thing I can't walk, and for some reason, daytime doesn't do anything other than making the place where the lamps are clear, but the rest of the world stays dark, please help! Thanks.

Update: I made the shading have a density=0 and now I can move, but still, when it's daytime, only the Lamp's light gets clear, the rest of the world stays dark.
Final Update: Ok, the problem was that I didn't give the player the
light = new /light/day_night(src, 4)
because in the demo I thought that was to give the player a flashlight effect and I didn't want that, and because when I added it I would get an error saying something about wrong size, because I uses the client.view with to numbers, one for width and one for height, but anyways, I fixed it, I'll leave this post in case someone else gets the same problem.