#Stretch window over every screen

1 messages · Page 1 of 1 (latest)

idle sedge
#

How do I "accurately" stretch my game window over every screen? (I assume that some people have very weird screen setups)

#

Stretch window over every screen

proud sluice
#

My understanding is that there isn't a really easy way to do this universally for all games.

If you use the Control node and it's derivatives, you can anchor their position to a specific point on the screen, and this will help to a degree.

Having a specific implementation for for your game will give you the best results.
Many games pick a resolution they're targeting (such as 1440p for PC games), and then work from there, adding padding or maybe changing FoV?

#

if your game is a 2D game that takes place on a sort of "board", you can generally add "black bars" or some sort of environment art around it to offset the issue. You can look at Wildfrost or Hearhstone as great examples of this, just put the game into windowed mode and try changing the resolution to see how it behaves.

vocal island
#

FYI for anyone else looking, I believe the question is about how to size the game window so it covers every pixel of arbitrary multiscreen setups, like this one.

proud sluice
#

that makes more sense than my interpretation for sure

vocal island
idle sedge
wraith nacelle
#

this will work fine until you have three screens in a triangle shape

marble moss
wraith nacelle
#

very much

#

i personally make everything very versatile, maybe too versatile, so i would have used a more versatile solution

#

versatile

idle sedge
#

In a triangle setup, the 0,0 point is here

marble moss
idle sedge
#

It doesn't need to be in my case.

#

I need this to have a small sprite follow the cursor on every screen. On startup, it's loaded at the cursor's current position and because it only follows behind, it can never leave the visible area.

#

The user also doesn't interact with anything. It's just an overlay.