Multi-screen - offset center?
Moderator: OpenTTD Developers
Multi-screen - offset center?
Heya! I have a maybe-weird question - I have two screens, and I play OpenTTD in windowed mode, stretching the window across both screens. Obviously, when I centre on something, the object is centred right across the seam, which is... inconvenient. So, with that in mind, is it possible to move the "centre" of the window to not be in actual centre, but offset by a certain value so centres on the left display, for example?
Re: Multi-screen - offset center?
The most straight-forward way would be to have the window not centred across your two screens, so that the middle of the window isn't exactly in-line with the split between your two monitors.
Re: Multi-screen - offset center?
Yep - but I wanna make the most of both!
{you can never have too many in-game windows open!}
{you can never have too many in-game windows open!}
Re: Multi-screen - offset center?
you can try extra viewport windows (press "V")
if you feel adventurous, you could fiddle with the source code, the keyword to look for here is "main viewport"
if you feel adventurous, you could fiddle with the source code, the keyword to look for here is "main viewport"
Re: Multi-screen - offset center?
This makes me wonder how much work it would be to let the game support having multiple "local clients" to the same game, so you could actually have separate views of your ongoing game on multiple monitors, possibly even with full UI and separate active tools on each. There's a lot of global state involved right now, so probably a huge amount of refactoring needed. The entire video driver interface also assumes that there is only ever one game window active, which would have to change too.
Re: Multi-screen - offset center?
I suppose that would be a question for code wizards - it would definitely be a nice feature, especially since multi-monitor setups are becoming more common nowadays.
- Emperor Jake
- Tycoon
- Posts: 3428
- Joined: 24 Apr 2007 09:37
- Skype: Discord: Emperor Jake #4106
- Location: Not Actually Japan
- Contact:
Re: Multi-screen - offset center?
This is already possible, you can just start a local multiplayer game on your computer, and then open another instance of the game and join yourself
Who is online
Users browsing this forum: No registered users and 6 guests