E
etbunce
Guest
Hey y'all,
Just trying to change the viewport size to maintain correct aspect ratio with the camera and leave some space for GUI elements, but the view always stretches to fill the whole screen, no matter the size. That's undesired.
I don't want to maintain a fixed aspect ratio for the game, because screen space on a phone is very important and could not be fully utilized that way.
I've tried changing the viewport size directly in the room editor, using view_wport or view_hport = blah, and also view_set_wport but none of these methods shrink the size. Using a debug message indeed shows that the viewport is the size I want, but the screen still doesn't think so.
I thought the whole purpose of viewports was to do stuff like this, so hopefully there is a simple solution. Help would be much appreciated. Thanks!
Just trying to change the viewport size to maintain correct aspect ratio with the camera and leave some space for GUI elements, but the view always stretches to fill the whole screen, no matter the size. That's undesired.
I don't want to maintain a fixed aspect ratio for the game, because screen space on a phone is very important and could not be fully utilized that way.
I've tried changing the viewport size directly in the room editor, using view_wport or view_hport = blah, and also view_set_wport but none of these methods shrink the size. Using a debug message indeed shows that the viewport is the size I want, but the screen still doesn't think so.
I thought the whole purpose of viewports was to do stuff like this, so hopefully there is a simple solution. Help would be much appreciated. Thanks!
Last edited by a moderator: