A
Ayziak
Guest
Hey all,
My game window is resizable, and set to keep its aspect ratio, so if I manually drag it to a certain size, it will have black bars on either side or the top and bottom.
I need a way to get the value of the height of the window, but excluding the black bars. Basically, is there any constant for the real height of the game?
(e.g. window_get_height() is the full height of the window with the bars.)
Thanks!
P.S. Would this work with fullscreen mode too?
My game window is resizable, and set to keep its aspect ratio, so if I manually drag it to a certain size, it will have black bars on either side or the top and bottom.
I need a way to get the value of the height of the window, but excluding the black bars. Basically, is there any constant for the real height of the game?
(e.g. window_get_height() is the full height of the window with the bars.)
Thanks!
P.S. Would this work with fullscreen mode too?
Last edited by a moderator: