Search found 75 matches

by drunken_thor
Sat Dec 20, 2014 3:59 am
Forum: Libraries and Tools
Topic: Löve "Light vs. Shadow" Engine v2
Replies: 140
Views: 119896

Re: Löve "Light vs. Shadow" Engine v2

I'm having a really weird issue. My top-down exploration game includes a character with a flashlight. When I start the flashlight with this code, it doesn't show up until I change the direction of the light. Then, if I try to swing the flashlight back to that direction, it vanishes again. self.flas...
by drunken_thor
Sat Dec 20, 2014 3:57 am
Forum: Libraries and Tools
Topic: Löve "Light vs. Shadow" Engine v2
Replies: 140
Views: 119896

Re: Löve "Light vs. Shadow" Engine v2

Uhh, something wierd just happened, when I remove all light sources, when I move a sprite, it keeps redrawing and leave traces (just like when windows xp windows stops responding, and you move it with your mouse). It only happens when I remove all lightsources. (It kinda happens with lightsources o...
by drunken_thor
Sat Dec 20, 2014 12:48 am
Forum: Support and Development
Topic: Nested Stencils?
Replies: 4
Views: 2560

Re: Nested Stencils?

The problem is that I want to use a stencil as an optimization techique for shaders. That is a very cool technique you described but I need a stencil for a very specific reason in this instance.
by drunken_thor
Fri Dec 19, 2014 6:25 pm
Forum: Support and Development
Topic: Nested Stencils?
Replies: 4
Views: 2560

Nested Stencils?

Hey all I have come upon a hard problem, I am trying to optimize light_world.lua and I have realized that stencils are a good way to go because I have noticed that stencils limit the amount of area that shaders are applied thus speeding up the shader application. However this is a sticking point, I ...
by drunken_thor
Wed Dec 17, 2014 4:57 pm
Forum: Libraries and Tools
Topic: Microphone Support for LÖVE!
Replies: 62
Views: 44393

Re: Microphone Support for LÖVE!

Kudos this looks awesome, also as a side note, your openal interface is a really good example of FFI in lua. I might have to play around with later as well.

Thanks!
by drunken_thor
Sun Dec 14, 2014 6:14 pm
Forum: Libraries and Tools
Topic: Löve "Light vs. Shadow" Engine v2
Replies: 140
Views: 119896

Re: Löve "Light vs. Shadow" Engine v2

Yeah, I think I remember running into a polygon point limit somewhere but I cant find the documentation to back it up again. (I actually think the limit is 8 though) As for FPS I am working on it but I am not sure how much more I can get out of it. I am going to have to get the old textbooks out aga...
by drunken_thor
Sun Dec 14, 2014 1:28 am
Forum: Libraries and Tools
Topic: Löve "Light vs. Shadow" Engine v2
Replies: 140
Views: 119896

Re: Löve "Light vs. Shadow" Engine v2

Amazing library! I am integrating it into my game engine, and it seems to work well (except FPS issues on resolutions higher than 800x600 as mentioned earlier). I have one question, why does lightWorld :newPolygon supports 9 points at max? Can't I exceed that number? Just curious. I dont think ther...
by drunken_thor
Fri Dec 12, 2014 7:56 pm
Forum: Libraries and Tools
Topic: [Cavity] Simple procedural cave building in Lua!
Replies: 4
Views: 4752

Re: [Cavity] Simple procedural cave building in Lua!

Really cool work, did you make this with anything in mind?
by drunken_thor
Thu Dec 11, 2014 10:53 pm
Forum: Libraries and Tools
Topic: Löve "Light vs. Shadow" Engine v2
Replies: 140
Views: 119896

Re: Löve "Light vs. Shadow" Engine v2

Relazy wrote:@drunken_thor, would it be possible to have lower resolutions for the shadow objects/lights themselves without changing the screen resolution?
I am not sure, I think so but it would take some figuring. I think there are optimizations that I could do before that though.
by drunken_thor
Thu Dec 11, 2014 8:25 pm
Forum: Libraries and Tools
Topic: Löve "Light vs. Shadow" Engine v2
Replies: 140
Views: 119896

Re: Löve "Light vs. Shadow" Engine v2

I can see that with higher resolutions that there would be slow downs, I will see if I can find some ways to speed it up but it will take a bit off work. I am no expert at shading either so I also welcome pull requests :P