Sure, sorry for being a bit vague. Basically, all I do is changedrunken_thor wrote:I am not sure what you are setting to 500,500. I just tried setting the conf.lua to 500,500 and it worked fine. Do you have the updated code? How are you running the project? can you post some screen shots of bugs? or post the bugs on the github issues?SNK1337 wrote: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 to exactly (500, 500) and moving the camera in the example "short.lua", the shadows act as if the light was stationary (meaning they stay the same when translating, which is what they're supposed to do), but the glow of the light moves with the camera. This also results into some weird bugs with the default "short.lua", since the glow and the shadows start not fitting together when pressing the arrow keys.
Code: Select all
lightMouse:setPosition(love.mouse.getX()/scale, love.mouse.getY()/scale)
Code: Select all
lightMouse:setPosition(500/scale, 500/scale)
http://puu.sh/cGQUw/a5cb0aabf0.jpg
http://puu.sh/cGQWg/2f3333cb2a.jpg
http://puu.sh/cGQWN/66d3a12423.jpg
As you can see, the shadows act just like they should - As if the light source was constantly at 500, 500. However, the glow moves with the camera.