Page 2 of 2

Re: Making a flashlight

Posted: Mon Nov 24, 2008 7:51 pm
by mike
surtic wrote:Is that what you wanted?
My god! That demo had a lot of frightening faces hidden in the dark.

Re: Making a flashlight

Posted: Mon Nov 24, 2008 8:50 pm
by surtic
I'm sure the word 'zombies' was mentioned... :o

Re: Making a flashlight

Posted: Mon Nov 24, 2008 11:25 pm
by Borsty
Like I mentioned here: http://love2d.org/forum/viewtopic.php?f ... t=30#p2849 I've been working on some kind of shadow system. I've got to the following state today: ( Yes, that's Kudomiku's game "Wrath"
wrath_with_shadowsys.JPG
wrath_with_shadowsys.JPG (53.62 KiB) Viewed 2125 times
I'll add directional lighting so you can also set an angle, and some kind of fading to set the max view distance.
And I need to add edge-detection to circles :P

[Edit]
Here's WRATH + my shadows + surtic's shadow
Dunno why It hides all the text tho, it should be drawing before all the HUD :S