Second Screen value opportunities
Many gamers have a second screen which is usually unused while they play and focus on their main monitor. The second screen is a great opportunity to provide more value in more ways for your users - and building a second window experience is just as simple as creating a normal window which communicates with GEP and has a transparent background window.
Second screen windows should launch automatically.
Second screen windows should have easy ways to close them - at least a hotkey and an X button at the top.
The second screen launcher should default in full screen but have the ability to scale/restore down.
If you don’t know the exact resolution of the second screen, use 1920X1080 which is the most common one.
When building the second screen window, follow these rules:
keep_window_locationflag to true.
desktop_onlyflag to true.
We recommend you set
native_windowflag to true.
If your native window run as a second-screen with the game, make sure to set the disable_hardware_acceleration manifest flag. It improves the performance of the game by reducing usage of the GPU while you are playing.
Identify which screen is the secondary one and display the secondary window on that screen.
Use the getMonitorsList() function for that.
If you know the resolution of each screen, you can do the calculation for exactly where you should display your window.
Use the transparent background window to share data and have your app windows communicate.