Search found 46 matches

by Nexion
Fri Nov 07, 2008 3:00 pm
Forum: Support and Development
Topic: Collision and destroy problems
Replies: 22
Views: 7413

Re: Collision and destroy problems

Hey! Just because I didn't realize that I installed 0.5.0 to the computer I was working on and not my flash drive does not mean that I was wrong.

Oh wait... yes it does...

And yes, rude, you DO have Scarlet Johanson on your bed
by Nexion
Fri Nov 07, 2008 4:56 am
Forum: Support and Development
Topic: Collision and destroy problems
Replies: 22
Views: 7413

Re: Collision and destroy problems

Posting the erroring files for rude
by Nexion
Fri Nov 07, 2008 3:19 am
Forum: Support and Development
Topic: Collision and destroy problems
Replies: 22
Views: 7413

Re: Collision and destroy problems

I'm trying to implement your code into mine, and I think I have everything right, but LOVE is still complaining about destroy() being a nil value, even though its being called on entities.b and .s

Do you have MSN or GTalk or something so we don't have to take up forum space and for faster responses?
by Nexion
Fri Nov 07, 2008 2:38 am
Forum: Support and Development
Topic: Collision and destroy problems
Replies: 22
Views: 7413

Re: Collision and destroy problems

*sigh* nevermind I'm an idiot, I forgot to set the callback to the world...
by Nexion
Fri Nov 07, 2008 2:28 am
Forum: Support and Development
Topic: Collision and destroy problems
Replies: 22
Views: 7413

Re: Collision and destroy problems

http://love2d.org/docs/Contact.html
It doesn't REALLY say that, but from looking at it that was the impression I got from it.

And I put
text = a .. ", " .. b
in the collision function then drew text with the draw function, and no matter what hits where, it never shows ANYTHING
by Nexion
Fri Nov 07, 2008 1:44 am
Forum: Support and Development
Topic: Collision and destroy problems
Replies: 22
Views: 7413

Re: Collision and destroy problems

oh ok, i misread what you had posted.

And if a and b are strings, then the docs are wrong, because the docs say that collision passes the shapes, not their data strings
by Nexion
Thu Nov 06, 2008 9:17 pm
Forum: Support and Development
Topic: Collision and destroy problems
Replies: 22
Views: 7413

Re: Collision and destroy problems

Here, I'll just post the entire code (some changes made since last post) local phys = love.physics local graph = love.graphics local time = love.timer local aud = love.audio local bullets = {} function load() world = phys.newWorld(1024, 768) world:setGravity(0, 15) graph.setBackgroundColor(100,100,2...
by Nexion
Thu Nov 06, 2008 3:04 pm
Forum: Support and Development
Topic: Collision and destroy problems
Replies: 22
Views: 7413

Collision and destroy problems

For whatever reason, my collision function will not detect ANY collisions. function collision(a,b,c) local f, r = c:getFriction(), c:getRestitution() local s = c:getSeparation() local px, py = c:getPosition() local vx, vy = c:getVelocity() local nx, ny = c:getNormal() for k, v in pairs(bulletShapes)...
by Nexion
Mon Nov 03, 2008 3:31 pm
Forum: Libraries and Tools
Topic: LUBE (Networking Library)
Replies: 332
Views: 225733

Re: Networking Library

name suggestion LDTP - LOVE Data Transfer Protocol
by Nexion
Mon Nov 03, 2008 2:30 pm
Forum: General
Topic: Shape object ideas
Replies: 9
Views: 7229

Re: Shape object ideas

OK, I don't have my code in front of me but that's probably where I went wrong. Do you think it would be possible to put a variable in the config file to tell LOVE what quadrant to be in? It would be handy to have the origin be at the bottom left in some cases instead of the top left. Just have it b...