I was just wandering if any would explain how i could add day and night code.
Thanks.
ID:261309
![]() Dec 9 2001, 6:15 am
|
|
Here's the easiest way of doing it.
proc Now, if there's a part of that code you don't get look it up. |
Nadrew wrote:
Here's the easiest way of doing it. > proc Now, if there's a part of that code you don't get look it up. I have one that FIREking taught me, its longer than that but it is also pretty good :-D <font color="grey">-~=</font><font color="FF0000">Lee</font><font color="grey">=~-</font> |
Altering the opacity won't allow players to carry torches or light sources. Luminosity is designed for light/dark changes.
I have a short demo available here: http://byond.com/hub/ hub.cgi?qd=hubIndex;hub=707;channel=1183 It shows two ways to do day and night, if you read the comments. The overlay version is more impressive visually, but the luminosity version works better if you use light sources in your game. (The overlay version can also cause some flickering the first couple times the overlay changes.) |
<font color=yellow>Unix