#usual display settings and how to control them?

1 messages · Page 1 of 1 (latest)

sweet willow
#

Stuff like, specifying which monitor the window should center on.
how to set the window to be borderless.

resolution and stretching i've already taken care of. But maybe there's other stuff that would be useful?

tardy yoke
#

There's no native way of picking a specific monitor to display the screen on

#

Also you can't toggle borderless

sweet willow
#

another thing i have this stretching setting

#

but im curious if there's a more common name for this

tardy yoke
#

Otherwise "keep aspect ratio"

sweet willow
#

Right so i should do the opposite

#

that is a more understandable name for it for sure

safe minnow
#

you can set on which monitor game should be displayed, I'm doing it in my game

#

window_get_visible_rects returns dimensions of all screens

#

so dividing that array size by 8 from what I remember gives you x/y of each monitor and it's dimensions

#

then you can just use window_set_position to put game on any screen (but fullscreen works only on first monitor)

sweet willow
#

fullscreen is the main thing where picking the display is useful i think

#

luckily you can still go winkey + shift arrow keys to change

#

but not many people know that probably

safe minnow
#

that doesn't work for me in GM

#

game still draws on first monitor, and second gets some static frame from GM

sweet willow
#

actually i think i have had that happen as well

#

not sure what the issue is

#

but seems to work rn for me

#

actually no just double checked

#

same deal oof

#

but if i have in windows, move the window to other monitor and then fullscreen

#

then it fullscreens on that monitor

#

so maybe could use your approach, to unfull move and fullscreen again??

#

seems a bit wonky tho

safe minnow
#

for me it's never working on second screen