Gamestudio Links
Zorro Links
Newest Posts
How was this Game Rendered?
by 3run. 08/06/20 20:01
problem with adding new history
by daan. 08/06/20 19:53
wrong Entry
by daan. 08/06/20 19:52
New Zorro version 2.30
by Zheka. 08/06/20 17:40
Lookback period - no signs of live
by jcl. 08/06/20 16:23
How to plot stop TradeStopLimit
by AdamWu. 08/06/20 15:03
Chat Room for Zorro Programmers
by AdamWu. 08/06/20 14:20
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online Now
10 registered members (AdamWu, Dooley, daan, Zheka, jenGs, painkiller, AndrewAMD, Aweys, 3run, 1 invisible), 477 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
bigimpactsound, tzw101, Al82, Alibert, jsch
18489 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: 751
Chicago, IL
Dooley Online OP
User
Dooley  Online OP
User

Joined: May 2005
Posts: 751
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: 751
Chicago, IL
Dooley Online OP
User
Dooley  Online OP
User

Joined: May 2005
Posts: 751
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