Search found 4 matches

by Magicked
Sun Mar 01, 2015 1:55 pm
Forum: Libraries and Tools
Topic: Löve "Light vs. Shadow" Engine v2
Replies: 140
Views: 120249

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

drunken_thor wrote:This library works by blending the background with the lighting you need to draw a background of some sort (not just set the background color)
That was it! Thanks! Like said, noob mistake. :)
by Magicked
Wed Feb 25, 2015 4:47 pm
Forum: Libraries and Tools
Topic: Löve "Light vs. Shadow" Engine v2
Replies: 140
Views: 120249

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

This is a very noob question, but I'm trying to get a quick test to work and I am failing miserably. I'm sure I am missing something obvious. I just want to draw a tiny space ship and a light. local LightWorld = require "lib/lightworld" function love.load(arg) camera = { x = 0, y = 0, scal...
by Magicked
Sun Aug 26, 2012 3:52 pm
Forum: Support and Development
Topic: How does Love handle box2d?
Replies: 3
Views: 2935

Re: How does Love handle box2d?

I'd strongly suggest you use the offset parameters to love.graphics.draw when you do things like this, since that handles things like rotation and scaling properly. Oh nice, I did not know this. That makes sense! I have my circle image colliding and rotating properly so far. Thanks for the help! :a...
by Magicked
Sun Aug 26, 2012 2:28 pm
Forum: Support and Development
Topic: How does Love handle box2d?
Replies: 3
Views: 2935

How does Love handle box2d?

Please correct me if I'm wrong about anything here. I'm new to Love! From what I understand, the underlying physics engine is Box2d, which uses an x, y location coordinate in the center of the object. Does Love provide any automatic translation of coordinates when drawing its own objects (like image...