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