Search found 5 matches

by gerard
Mon Jan 31, 2011 8:09 pm
Forum: Support and Development
Topic: Strange limit to mouse.getX-getY
Replies: 14
Views: 5380

Re: Strange limit to mouse.getX-getY

vrld wrote:What if you set the window size in love.conf?

That worked. I cannot use love.graphics.setMode, because the problem appears again, but at least I can start the game in the resolution I want.

Thanks. :ultraglee:
by gerard
Mon Jan 31, 2011 4:51 pm
Forum: Support and Development
Topic: Strange limit to mouse.getX-getY
Replies: 14
Views: 5380

Re: Strange limit to mouse.getX-getY

before i had this line :

love.graphics.setMode(800, 600, false, true, 0)

now i have:

love.graphics.setMode(1280, 720, false, true, 0)



As it seems to be a problem with my installation of love, I will try to reinstall it to see if that eliminates the problem.
by gerard
Mon Jan 31, 2011 4:43 pm
Forum: Support and Development
Topic: Strange limit to mouse.getX-getY
Replies: 14
Views: 5380

Re: Strange limit to mouse.getX-getY

That is weird. So, what can I do?
by gerard
Mon Jan 31, 2011 4:07 pm
Forum: Support and Development
Topic: Strange limit to mouse.getX-getY
Replies: 14
Views: 5380

Re: Strange limit to mouse.getX-getY

I upload the code. I erased all of the code irrelevant to the problem and i just left out a line that goes from the origin (0,0) to the position of the mouse. I upload an image of what happens, as you can see, if the cursor X position is greater than 799, the line gets stuck at 799. I want the line ...
by gerard
Mon Jan 31, 2011 1:23 pm
Forum: Support and Development
Topic: Strange limit to mouse.getX-getY
Replies: 14
Views: 5380

Strange limit to mouse.getX-getY

In a game I am developing I was using a 800x600 resolution. Today I started testing different resolutions, but I noticed a strange thing. The love.mouse.getX function returns 799 if the position of the mouse is greater than 799. The same with love.mouse.getY with a limit of 599. It's so obvious that...