My god! That demo had a lot of frightening faces hidden in the dark.surtic wrote:Is that what you wanted?
Making a flashlight
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Making a flashlight
Now posting IN STEREO (where available)
Re: Making a flashlight
I'm sure the word 'zombies' was mentioned...
Re: Making a flashlight
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"
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
[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
And I need to add edge-detection to circles
[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
- Attachments
-
- envy_shadow.love
- Updated, now it checks if shapes are in range of the shadow area... So we can skip stuff that's outside the viewable circle :P
- (338.99 KiB) Downloaded 190 times
Who is online
Users browsing this forum: Bing [Bot], Semrush [Bot] and 6 guests