window variables problems after changing window mode

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Sosolol261
Party member
Posts: 125
Joined: Wed Nov 26, 2014 6:43 am

window variables problems after changing window mode

Post by Sosolol261 »

There is this little problem(probably a bug) which messes up the position variables, after changing from fullscreen to window.

The Y position gets pushed down so all the button clicking is messed up...

Here is the love file. Have fun reading a uncommented code for me :joker:

Tell me if you want it commented. I will upload the commented version right away!!
Thanks for helping :D
User avatar
Jasoco
Inner party member
Posts: 3725
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: window variables problems after changing window mode

Post by Jasoco »

It works fine for me. At least as well as I can tell. All the buttons still work fine when I go fullscreen.

OS X with 1920x1200 resolution.
User avatar
AlexCalv
Prole
Posts: 49
Joined: Fri Aug 08, 2014 7:12 pm
Contact:

Re: window variables problems after changing window mode

Post by AlexCalv »

All buttons work for me the same way they do in windowed mode.

Windows 7 1920x1080
Sosolol261
Party member
Posts: 125
Joined: Wed Nov 26, 2014 6:43 am

Re: window variables problems after changing window mode

Post by Sosolol261 »

AlexCalv wrote: All buttons work for me the same way they do in windowed mode.
I mean after you change from fullscreen to windowed mode.
User avatar
AlexCalv
Prole
Posts: 49
Joined: Fri Aug 08, 2014 7:12 pm
Contact:

Re: window variables problems after changing window mode

Post by AlexCalv »

Oh you mean going into fullscreen, and then go back to windowed mode?
User avatar
Jasoco
Inner party member
Posts: 3725
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: window variables problems after changing window mode

Post by Jasoco »

It seems to be working fine mouse collision-wise for me. I tried switching back and forth a dozen times. The only problem I noticed was the first click after each mode change was discarded. But after clicking once it worked fine for clicking again.
Sosolol261
Party member
Posts: 125
Joined: Wed Nov 26, 2014 6:43 am

Re: window variables problems after changing window mode

Post by Sosolol261 »

Jasoco wrote:But after clicking once it worked fine for clicking again.
Really? Hmm then my imaginary users will have to deal with it XD
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 158 guests