Metrollos
Member
While working on multiple screens, I noticed, that I can not find any effective way to change the monitor, where the game will be shown in fullscreen mode.
The only way I figured out was:
Is there a way to change the used monitor, either through a function of the engine, that I just overlooked, or through some dll?
*
Because the game always starts on the monitor that windows gives the left upper corner the coordinates (0/0)**. In my case, the game always starts on monitor 2, the left upper corner of monitor 1 has the coordinates (-1920/0)**.
**
I got the coordinates through window_get_x() and window_get_y().
The only way I figured out was:
- change the game to windowed mode
- drag the window to the other monitor / use window_set_position() to move the window to the other monitor (does not work in fullscreen)
- change the game back to fullscreen mode
- Nobody wants to drag the game around in windowed mode every time the game starts.*
- Using window_set_position() can not be used effectively, because there is no way to predict the monitor set-up of the user.
Is there a way to change the used monitor, either through a function of the engine, that I just overlooked, or through some dll?
*
Because the game always starts on the monitor that windows gives the left upper corner the coordinates (0/0)**. In my case, the game always starts on monitor 2, the left upper corner of monitor 1 has the coordinates (-1920/0)**.
**
I got the coordinates through window_get_x() and window_get_y().