Search found 55 matches

by bizziboi
Sat Dec 14, 2013 8:03 am
Forum: Support and Development
Topic: Contact:setEnabled?
Replies: 0
Views: 427

Contact:setEnabled?

Okay, this somewhat puzzles me. If, in the beginContact callback I set the contact to disabled and then check it in presolve (which I believe shouldn't be called if I set the contact to false to begin with), it is indeed false - for one frame, the next frame I get preSolve called again and the conta...
by bizziboi
Sat Dec 14, 2013 6:43 am
Forum: Support and Development
Topic: Quad confusion
Replies: 11
Views: 3106

Re: Quad confusion

Yes, that was what I was seeing. I misinterpreted 'scales up the object to sx, sy' as it scaling up the image object (virtually that is) so it could calculate uv coords. But it operates on pixel coords purely and the object being scaled was the actual rendered object.

Thanks for the help everyone :o)
by bizziboi
Fri Dec 13, 2013 8:05 am
Forum: Support and Development
Topic: Problems unpacking my game
Replies: 14
Views: 3642

Re: Problems unpacking my game

As I asked before, does it work with other love files you download? I am wondering if the OS (OsX?) doesn't have the extension registered to open them with love2d.
by bizziboi
Fri Dec 13, 2013 12:38 am
Forum: Support and Development
Topic: Quad confusion
Replies: 11
Views: 3106

Re: Quad confusion

I guess I am misreading what it says on the wiki. When I say newQuad(0,0,200,200,200,200) I expect to see the same as when I say newQuad(0,0,800,800,800,800), but I don't (which is apparently correct but I don't understand the logic). I thought quad only set the texture coords but it seems to set te...
by bizziboi
Thu Dec 12, 2013 10:41 pm
Forum: Support and Development
Topic: Problems unpacking my game
Replies: 14
Views: 3642

Re: Problems unpacking my game

Do other love files work for you when you double-click them?
by bizziboi
Thu Dec 12, 2013 7:17 pm
Forum: Support and Development
Topic: Quad confusion
Replies: 11
Views: 3106

Re: Quad confusion

Thanks, but no, I understand that. I am trying to understand why I have to pass in imagewidth and height as it shouldn't be needed if it's only used for texture coordinates. I don't understand why (based on the description in the wiki) ImageDataQuad = love.graphics.newQuad(0,0,ImageDataWidth,ImageDa...
by bizziboi
Thu Dec 12, 2013 2:35 pm
Forum: Support and Development
Topic: Quad confusion
Replies: 11
Views: 3106

Re: Quad confusion

Thanks, but that part I understood.

I am puzzled why Quad(0,0,x,x,x,x) doesn't *always* draw the whole image.

Does the quad encode *output* size as well?
by bizziboi
Thu Dec 12, 2013 7:08 am
Forum: Support and Development
Topic: conf.lua ignored
Replies: 12
Views: 2864

Re: conf.lua ignored

Okay, just to make sure - your conf.lua is in the same location as your main.lua?

It works fine for me with 0.9.0

Are you on Windows or other environmen?
by bizziboi
Thu Dec 12, 2013 6:39 am
Forum: Support and Development
Topic: Quad confusion
Replies: 11
Views: 3106

Quad confusion

Hi, I am trying to replace my sprite rendering code with quads for preparation of batching and I run into the following confusion. I create a quad for the sprite, which for now I want to be the full image. The way I read the wiki, self.quad = love.graphics.newQuad( 0, 0, 256, 256, 256, 256 ) should ...
by bizziboi
Sat Dec 07, 2013 8:33 am
Forum: Support and Development
Topic: Physics object goes asleep, but not waking up?
Replies: 3
Views: 705

Re: Physics object goes asleep, but not waking up?

You're right, setting angular velocity instead of rotating manually does the trick. This is strange, because that's what kinematic bodies are usually for (at least in other engines) - when you set the position they internally calculate the needed velocities to reach that position. I guess Box2D trea...