Page 1 of 1

window variables problems after changing window mode

Posted: Tue Feb 24, 2015 12:17 pm
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

Re: window variables problems after changing window mode

Posted: Tue Feb 24, 2015 7:05 pm
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.

Re: window variables problems after changing window mode

Posted: Wed Feb 25, 2015 5:42 am
by AlexCalv
All buttons work for me the same way they do in windowed mode.

Windows 7 1920x1080

Re: window variables problems after changing window mode

Posted: Wed Feb 25, 2015 12:38 pm
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.

Re: window variables problems after changing window mode

Posted: Wed Feb 25, 2015 2:05 pm
by AlexCalv
Oh you mean going into fullscreen, and then go back to windowed mode?

Re: window variables problems after changing window mode

Posted: Wed Feb 25, 2015 6:10 pm
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.

Re: window variables problems after changing window mode

Posted: Thu Feb 26, 2015 5:29 am
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