• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

GameMaker GM2 Getting Wrong Monitor Width

T

TheOakNuggins

Guest
I'm trying to use the width of the monitor to center the game window. I program on a MacBook with a 2560x1600 display. When I print "display_get_width()" to the screen, it says my monitor width is 1440. I don't know why that would be. Any ideas?
 
T

TheOakNuggins

Guest
I'm trying to use the width of the monitor to center the game window. I program on a MacBook with a 2560x1600 display. When I print "display_get_width()" to the screen, it says my monitor width is 1440. I don't know why that would be. Any ideas?
Ah shoot. In preferences the default is set to "look like" 1440x900. Don't know how to center it then I guess
 
T

TheOakNuggins

Guest
Ok I figured it out. The targeted window size was bigger than my actual monitor so it was being pushed to the side as if it was bigger.
 
Top