Search found 106 matches

by Whatthefuck
Wed Sep 03, 2014 6:46 am
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 412150

Re: "Questions that don't deserve their own thread" thread

How do I use getPointer with FFI on an ImageData object to change a certain pixel in it? Is the ImageData array two dimensional, and what variable names do the pixel colors use?
by Whatthefuck
Sat Aug 23, 2014 3:57 pm
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 412150

Re: "Questions that don't deserve their own thread" thread

I want to give a shot at computing the lighting via a shader and was wondering if there's a way to get the colors of another pixel (in whatever direction) ?
by Whatthefuck
Thu Aug 14, 2014 6:36 am
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 412150

Re: "Questions that don't deserve their own thread" thread

I noticed that regardless of how large a quad's size is in the repeating mode, it doesn't seem to use more memory. A Quad only has information about the position, size, and texture coordinates of the vertices drawn when you do love.graphics.draw(texture, quad, ...). The actual Quad object always ha...
by Whatthefuck
Wed Aug 13, 2014 6:37 am
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 412150

Re: "Questions that don't deserve their own thread" thread

I noticed that regardless of how large a quad's size is in the repeating mode, it doesn't seem to use more memory. Do quads have culling optimization?
by Whatthefuck
Sun Aug 03, 2014 7:14 am
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 412150

Re: "Questions that don't deserve their own thread" thread

DaedalusYoung wrote:With love.filesystem.getDirectoryItems?
Yeah, I figured that out after I posted the question. The fact that it checked in the appdata folder as well wasn't documented, so I was confused. I added that part there in case others get confused too.
by Whatthefuck
Sat Aug 02, 2014 11:40 am
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 412150

Re: "Questions that don't deserve their own thread" thread

Also, is there a way to read all the files found in appdata/LOVE/gamename folder?
I need to save files there with varying names (user defined), but I can't find a way to actually read through all those files.
by Whatthefuck
Sat Aug 02, 2014 7:25 am
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 412150

Re: "Questions that don't deserve their own thread" thread

undef wrote:
Whatthefuck wrote:How would I go about making a directory in 'Documents' ? I'm on Windows, of course.
The only place where you are allowed to write is %appdata%/yourgame.
Yet somehow I managed to write into the Documents folder, but wasn't able to make a directory there. :p
by Whatthefuck
Fri Aug 01, 2014 9:42 pm
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 412150

Re: "Questions that don't deserve their own thread" thread

How would I go about making a directory in 'Documents' ? I'm on Windows, of course.
by Whatthefuck
Sat Jul 26, 2014 5:03 pm
Forum: Support and Development
Topic: Preventing lighting from being drawn on the background
Replies: 19
Views: 9544

Re: Preventing lighting from being drawn on the background

Could you post a screenshot of the result? I am interested. Sure. https://love2d.org/imgmirrur/Ct7Ijsz.png Using [img] tags doesn't even make it fit in here, so have a link instead. :V Edit: oops, double post. D: Here, have another one that I took while it was raining in-game: https://love2d.org/im...
by Whatthefuck
Sat Jul 26, 2014 5:02 pm
Forum: Support and Development
Topic: Preventing lighting from being drawn on the background
Replies: 19
Views: 9544

Re: Preventing lighting from being drawn on the background

micha wrote:Could you post a screenshot of the result? I am interested.
https://love2d.org/imgmirrur/Ct7Ijsz.png

Using [img] tags doesn't even make it fit in here, so have a link instead. :V