Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (VoroneTZ, AndrewAMD), 833 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Misreading Monitor Resolution #480780
07/11/20 23:42
07/11/20 23:42
Joined: May 2005
Posts: 868
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 868
Chicago, IL
A player is having trouble getting my game to create a window at 1920 x 1080 on a monitor that is 2560 x 1440.

I have an error log, and it is reporting that the resolution is 1719 x 967 for some reason, using sys_metrics.

I am wondering if the game engine has some kind of issue with larger monitors like this?

I will write a very small program that just captures and logs the screen resolution, to see if something else in my script might be at fault.

In the meantime, has anyone encountered this sort of problem before? I'm wondering if there is some kind of display scaling issue that is confusing the game engine into misreading the current resolution.

Last edited by Dooley; 07/13/20 15:42.
Re: Misreading Monitor Resolution [Re: Dooley] #480794
07/13/20 15:30
07/13/20 15:30
Joined: May 2005
Posts: 868
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 868
Chicago, IL
Note: I just noticed that his monitor is set to:
Current Mode: 2560 x 1440 「32 bit」 「120Hz」

But:
Native Mode: 2560 x 1440「p」 「59.951Hz」

The increased Hz may be something causing the misreading of resolution, I wonder? Similar to the problem described in this thread?
https://opserver.de/ubb7/ubbthreads.php?ubb=showflat&Main=57941&Number=477022

or this one:
https://opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=480800#Post480800

Last edited by Dooley; 07/14/20 12:50.

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1