• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Is there a way to switch between Displays?

D

Darren

Guest
Hi,

I'm trying to make my in-game menu as comprehensive as possible and I'd like an option to pick which display to display the game on when going full-screen with multiple monitors. Is there a way to set this with GML? So I could have a slider for example and swap it over from my left display to my right display and vice versa.

Thanks.
 

Tthecreator

Your Creator!
I don't think there is a way,
Maybe a dll?
When not using full screen, using "window_set_position" to set the window position to a position outside the main monitor might do the trick,
but there is still no way of detecting which monitors you have and that won't work in full screen.

A dll or extension might be your only option. Try using http://www.gmtoolbox.com
 
D

Darren

Guest
Ah okay. I'm not too concerned about when not using full-screen because the user can drag the screen to wherever they want within seconds. I guess my game can do without it, it's more a quality of life option than an auto include.

It'd be nice to see a way of detecting/setting displays in a future version of GM Studio.

Thanks for your help!
 
Top