A question about the incoming version of GLBasic

Previous topic - Next topic

Armoured

Hi,
In the incoming version of GLBasic the commands "GETDESKTOPSIZE" and "GETSCREENSIZE" rotate their results when I change the orientation of the display?

Thanks

mentalthink

Hi Armour I think about this answer I think it´s not... because "GETDESKTOPSIZE" and "GETSCREENSIZE normally you don´t have to use into the main bucle... but if you make a call into the bucle when you rotated the screen I think, the values in x pass to y, and viceversa... How I told you, I´m not sure.


Armoured

Quote from: mentalthink on 2012-Jun-24
Hi Armour I think about this answer I think it´s not... because "GETDESKTOPSIZE" and "GETSCREENSIZE normally you don´t have to use into the main bucle... but if you make a call into the bucle when you rotated the screen I think, the values in x pass to y, and viceversa... How I told you, I´m not sure.

Hi mentalthink,
On Android if the device rotate the screen  from portrait to landscape x and y in these commands aren't swapped.
Another problem is the "GETORIENTATION()" command that always return a top orientation.

mentalthink

Hi Armoured, then I don´t know about the values of those 2 commands... Never I tested...

About the orientation, it´s something extrange, really I only use 2 times.. but in my Android device, I do rotate the screen and works fine...

Sorry for not help, I´m sure someone can give you the correct answer...

Regards,
Iván J

spacefractal

Software rotation if locked in a orientation is not real deal on android. I have been issues in some devices, system rotation did not work.

I reported that bug long time ago and I posted a video what it could happens when surface change: glbasic did nothing.

Not sure it's fixed in current v11 beta, but its should have been refixed again after the hd crash, and yes it's should return new values in GETSCREENSIZE when happens.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

Armoured

Quote from: spacefractal on 2012-Jun-25
Software rotation if locked in a orientation is not real deal on android. I have been issues in some devices, system rotation did not work.

I reported that bug long time ago and I posted a video what it could happens when surface change: glbasic did nothing.

Not sure it's fixed in current v11 beta, but its should have been refixed again after the hd crash, and yes it's should return new values in GETSCREENSIZE when happens.

Thanks mentalthink and spacefractal,
I think that fix this bug must have an high priority for GLBasic.  ;/