Search found 57 matches

by bizziboi
Sat Dec 21, 2013 6:15 am
Forum: Support and Development
Topic: 0.9.0 resource/mem leak with DDS?
Replies: 4
Views: 1915

0.9.0 resource/mem leak with DDS?

Hi, I have a simple program that determines (somewhat) available video memory by repeatedly creating images and holding a reference to it until I run out of memory. I call this in succession for various scenarios (wanted to see the gain in using DDS). The scenarios are "Load a png", "...
by bizziboi
Sat Dec 14, 2013 9:43 pm
Forum: Support and Development
Topic: Quad confusion
Replies: 11
Views: 5106

Re: Quad confusion

Okay, let me rephrase:
I thought it *only* was there to calculate UV's.

...in retrospect this was a silly assumption as Love would have no way to know what size would be the UV'd rect's reference size. My bad.
by bizziboi
Sat Dec 14, 2013 8:03 am
Forum: Support and Development
Topic: Contact:setEnabled?
Replies: 0
Views: 942

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: 5106

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: 7874

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: 5106

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: 7874

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: 5106

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: 5106

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: 5015

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?