Creaphis
I will deliberately take a contrary position just for the sake of writing incredibly long arguments

Posts: 4051
Registered: 10-05 |
ArmouredBlood said:
Lolz, I love the handcrankiness.
Agreed!
It's a shame, though, that most flashlights in this engine don't work like flashlights. Even in whatever engine Half Life is based on it's extremely obvious that light isn't travelling outwards in a cone but is just emerging in a fixed-size sphere from the point where the ray from the flashlight contacts something.
So, for those interested, here's another idea on how to make a flashlight in Doom. It has its own weaknesses but also some respectable strengths. Make it so that "firing" the flashlight has the same full-brightness effect of the lite-amp, but also have it spawn a sprite some short distance in front of the player, in the same way that archvile flames spawn in front of the player. This sprite should serve as a "stencil" - it should have a round opening in the middle, for the flashlight's "beam," while filling the rest of the player's screen with black. If this sprite is set to the right degree of translucency, it will make it seem that only the center of the player's screen is being illuminated while the rest is still darker. It's unavoidable that this method will change the colour of the entire screen, instead of just brighten the middle, but this doesn't ruin the idea, because in reality, if you shine a flashlight in a dark room, the entire room will be illuminated somewhat, not only the circle where light from the flashlight hits the wall.
You're welcome.
|