Search found 75 matches

by drunken_thor
Mon Nov 24, 2014 3:10 am
Forum: Libraries and Tools
Topic: Dynamic lighting in LÖVE
Replies: 27
Views: 15437

Re: Dynamic lighting in LÖVE

I checked out your kickstarter and I will definitely be backing it! I have been using Crazy Bump up till now but your tool looks far superior! EDIT: As the (second) author, of the light library I can tell you that the normal maps are shaded using, pixel shaders based on the normal and light position...
by drunken_thor
Sun Nov 23, 2014 4:46 pm
Forum: Libraries and Tools
Topic: [Library] behaviourtree.lua
Replies: 5
Views: 2098

[Library] behaviourtree.lua

Hey everyone I ported my favourite BT lib from javascript to lua and thought you might like to use it as well. Check it out!

https://github.com/tanema/behaviourtree.lua
by drunken_thor
Fri Nov 14, 2014 11:36 pm
Forum: Libraries and Tools
Topic: Löve "Light vs. Shadow" Engine v2
Replies: 140
Views: 65552

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

When i used my original engine with for example 256x256 tiles, i had a draw call for every tile and for every effect (like glow, pixelshadow, refraction etc.), with my ECS i fixed that problem with separate batch draws directly in the canvas buffer. In the old engine it was only possible with an ug...
by drunken_thor
Sun Nov 09, 2014 7:30 pm
Forum: Libraries and Tools
Topic: Löve "Light vs. Shadow" Engine v2
Replies: 140
Views: 65552

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

I see what you mean but I think you are still doing something wrong. first off if you want a stationary light you should just set the position when you create it like this -- create light at 500,500 lightMouse = lightWorld:newLight(500, 500, 255, 127, 63, 300) also I tried the exact same code light...
by drunken_thor
Sat Nov 08, 2014 5:02 pm
Forum: Libraries and Tools
Topic: Löve "Light vs. Shadow" Engine v2
Replies: 140
Views: 65552

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

Hi and sorry for the long inactivity, yes, the code was a little bit too long and messy in the end and my biggest mistake was to put all features (shadow, glow, pixelshadow etc.) in only one (shadow-)body object. The translation functionality was horrible and incomplete, too. :) The problem at the ...
by drunken_thor
Sat Nov 08, 2014 5:00 pm
Forum: Libraries and Tools
Topic: Löve "Light vs. Shadow" Engine v2
Replies: 140
Views: 65552

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

Thank you for doing this! I've been wanting to create a game with that engine for a while now, and this will probably make the process much more painless. I'm having an issue however: Am I doing something wrong, or is the translation of the light source somehow buggy? For example, when setting it t...
by drunken_thor
Sat Nov 08, 2014 4:53 pm
Forum: Libraries and Tools
Topic: Löve "Light vs. Shadow" Engine v2
Replies: 140
Views: 65552

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

Hi and sorry for the long inactivity, yes, the code was a little bit too long and messy in the end and my biggest mistake was to put all features (shadow, glow, pixelshadow etc.) in only one (shadow-)body object. The translation functionality was horrible and incomplete, too. :) The problem at the ...
by drunken_thor
Fri Nov 07, 2014 1:14 am
Forum: Libraries and Tools
Topic: Löve "Light vs. Shadow" Engine v2
Replies: 140
Views: 65552

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

Thank you for doing this! I've been wanting to create a game with that engine for a while now, and this will probably make the process much more painless. I'm having an issue however: Am I doing something wrong, or is the translation of the light source somehow buggy? For example, when setting it t...
by drunken_thor
Mon Nov 03, 2014 10:57 pm
Forum: Libraries and Tools
Topic: Löve "Light vs. Shadow" Engine v2
Replies: 140
Views: 65552

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

Hello. Pls help with use this library. I create new light source: lightWorld = love.light.newWorld() newlight=lightWorld.newLight(100, 100, 255, 230, 0, 30) But how totaly remove this light source? I added a `remove()` method to the light world to remove any object that is already in the light worl...
by drunken_thor
Mon Nov 03, 2014 1:45 am
Forum: Libraries and Tools
Topic: Löve "Light vs. Shadow" Engine v2
Replies: 140
Views: 65552

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

right now there is no way to remove a light but I can add that pretty easily, I will get back to you when its done.