I'm trying to constrain how much of the window/screen the actual game will take up to render. The reason being is I do not want the UI elements to cover/hide areas of the map, so instead I want to maintain the current window/fullscreen size but make just reduce the actual game rendering.
For example, in a 1280x720 window size I would like about 10% or 128 pixels to be excluded from the game rendering on the bottom of the screen that way I can then fill it up with a ui related element that won't prevent the actual player from seeing clearer what is at the bottom of their screen.
I've been attempting to manipulate the following:
Graphics._canvas.width
Graphics._canvas.height
To no avail. I'm unsure which variables or where in the documentation I might find clearer support on this issue. I searched for plugins and other threads but found no results.
For example, in a 1280x720 window size I would like about 10% or 128 pixels to be excluded from the game rendering on the bottom of the screen that way I can then fill it up with a ui related element that won't prevent the actual player from seeing clearer what is at the bottom of their screen.
I've been attempting to manipulate the following:
Graphics._canvas.width
Graphics._canvas.height
To no avail. I'm unsure which variables or where in the documentation I might find clearer support on this issue. I searched for plugins and other threads but found no results.