Page 1 of 1

Couple of questions

Posted: Sun Dec 14, 2008 5:47 am
by Simtex
I'm currently working on a 2d game project using pyglet, but due to some minor irritation with Python was looking at LÖVE as an alternative. I have a couple questions though:

1. Is there any chance that mouse picking similar to what you see here will be added to LÖVE in the near future?

2. Can you/How do you get a LÖVE project into a debugger?

Re: Couple of questions

Posted: Sun Dec 14, 2008 9:55 am
by mike
1. Hey, that seems pretty cool. It would simply require the use of love.graphics.getColorAt(x,y) or something like that, right? It seems like a something that would be useful to have.

Re: Couple of questions

Posted: Sun Dec 14, 2008 10:53 am
by bartbes
1. Hmm.. might be possible to do in pure Lua just to fill the time to the next release ;)
2. Well, you can't go as far as gdb :P , however LÖVE automatically stops and gives a blue screen (sounds really bad ;)) propagating the error (in standard Lua error style). So whenever it finds an error it just stops and shows it, giving you the option to restart, continue and quit. Assert and error both trigger the screen, so that works as you'd expect it to. It might not be ideal, but it works.

FEATURE REQUEST: shake clone for LÖVE

Re: Couple of questions

Posted: Sun Dec 14, 2008 1:50 pm
by mike
bartbes wrote:It might not be ideal, but it works.
I find your lack of faith disturbing.

Hmm, what about love.system.error("This is an error") for causing your own errors? Is this interesting to anyone?

Re: Couple of questions

Posted: Sun Dec 14, 2008 3:28 pm
by rude
mike wrote:Hmm, what about love.system.error("This is an error") for causing your own errors? Is this interesting to anyone?
I find you lack of cognitive skills disturbing.
bartbes wrote:Assert and error both trigger the screen, so that works as you'd expect it to.

Re: Couple of questions

Posted: Sun Dec 14, 2008 5:43 pm
by mike
rude wrote:I find you lack of cognitive skills disturbing.
What? Did I miss something? Have I been sleeping?

Edit: Nevermind. Found it. I have a penchant for making an ass of myself.