So I've recently started playing my game in windowed mode. Runs a lot better etc. etc.
However, every time the game starts, it'll open in the center of my screen. I don't want it there, I'd rather have it to the right, so I can see my off-game chats and stuff. But, I can't find anywhere that'll tell me how I can go about this.
If I run it with borders, I can move it. But it won't stay put once I close the game and open it again. It'll always open on the center of my screen.
Any ideas?
Thanks
So I've recently started playing my game in windowed mode. Runs a lot better etc. etc.
However, every time the game starts, it'll open in the center of my screen. I don't want it there, I'd rather have it to the right, so I can see my off-game chats and stuff. But, I can't find anywhere that'll tell me how I can go about this.
If I run it with borders, I can move it. But it won't stay put once I close the game and open it again. It'll always open on the center of my screen.
Any ideas?
Thanks
-x <number> and -y <number> in launch options will position it. X is how many pixels from the left of your screen, Y is how many from the top, so 0 and 0 would put it in the top left corner.
-x <number> and -y <number> in launch options will position it. X is how many pixels from the left of your screen, Y is how many from the top, so 0 and 0 would put it in the top left corner.
Brilliant, just what I needed. Thanks bluee.
Brilliant, just what I needed. Thanks bluee.
could you use that same system to make the window pop up on a secondary monitor?
could you use that same system to make the window pop up on a secondary monitor?
Don't see why not, I'll give it a try later and let you know Madoff
Edit: It works, but with these caveats. The origin 0,0 will always be the top-left corner of your primary monitor, and it doesn't accept negative values. That means your second monitor cannot be left of, or above, your primary monitor. If I try to use a negative y, since my second monitor is slightly higher than my primary, it goes back to the center-of-primary-screen approach and looks like this http://i.imgur.com/8Jd6X.jpg
Don't see why not, I'll give it a try later and let you know Madoff
[b]Edit[/b]: It works, but with these caveats. The origin 0,0 will always be the top-left corner of your [i]primary[/i] monitor, and it [i]doesn't[/i] accept negative values. That means your second monitor cannot be left of, or above, your primary monitor. If I try to use a negative y, since my second monitor is slightly higher than my primary, it goes back to the center-of-primary-screen approach and looks like this http://i.imgur.com/8Jd6X.jpg