V
Vinzo
Guest
Hello,
I'm creating a game for the first time with Game Maker Studio 2 and I need the game (for mobile device) to be displayed horizontally and in full screen.
For the horizontal view I solved from GM settings by setting landscape as the only possibility; for the full screen, and resizing on different devices, I'm having some problems.
I followed this guide https://www.yoyogames.com/blog/66/the-basics-of-scaling-the-game-view and the resizing seems to work, but on some devices (such as Xiaomi Redmi Note 5 2160x1080 ) the black border remains on the side where the keys are, as if it calculated that space as unusable or not part of the display.
If, from the phone settings, I allow the game to use the full screen, everything works and the game is correctly opened in full screen, resizing correct and without borders.
Has anyone ever found themselves in a similar situation? How can I solve it? Is there a way to automatically enable the function in the phone settings? Other games do it.
Thanks.
I'm creating a game for the first time with Game Maker Studio 2 and I need the game (for mobile device) to be displayed horizontally and in full screen.
For the horizontal view I solved from GM settings by setting landscape as the only possibility; for the full screen, and resizing on different devices, I'm having some problems.
I followed this guide https://www.yoyogames.com/blog/66/the-basics-of-scaling-the-game-view and the resizing seems to work, but on some devices (such as Xiaomi Redmi Note 5 2160x1080 ) the black border remains on the side where the keys are, as if it calculated that space as unusable or not part of the display.
If, from the phone settings, I allow the game to use the full screen, everything works and the game is correctly opened in full screen, resizing correct and without borders.
Has anyone ever found themselves in a similar situation? How can I solve it? Is there a way to automatically enable the function in the phone settings? Other games do it.
Thanks.