MZ Screen resolution, size and black borders.

Greetings! I have an issue which is causing me so many headaches, but first of all, thank you so much for taking the time to read it.

Well, I'm developing a game in MZ which is meant to be played in a controller and I wanted the game to always start and be at full screen (or at least that the player has the option to do so), and also I want the game to fill all the screen without black borders (which is how a game should look like) and on every screen that is played, because the size of my screen could not be the same as another person so it needs to work with every player's screen and not changing the character vision, I mean, even if the game fills all the screen it won't be good if you can see an entire map from above. I really hope I'm making myself clear enough.

This really sounds like nothing but is giving me poison hour after hour, any help would be incredible, thank you so much, really.
This will need a plugin (or two), so I've moved it over to the "where can I find this plugin" board~

I've moved this thread to JS Plugin Requests (from MZ Support). Thank you.

By default the game preserves the original aspect ratio (width/height). If the game window is resized to another aspect ratio, borders appear to avoid stretching. Regardless, the player never sees more or less information than you: the game resolution remains the same, regardless of its display size.

Plugins can change this, though.
It would be useful if you specified exactly how do you want your game to adapt to different resolutions. For a somewhat extreme example, let's say someone plays it on an ultrawide screen (21:9). How would you want your game to look there? You mention that you want the game to fill the entire screen, don't want black bars and don't want to show the player a larger area - the only way to do that would be to stretch everything making it quite w i d e. Are you sure that's what you want?
Your first problem here is that most of the black borders are NOT created by the engine, but by your display chip.
They happen if a screen size is smaller than the screen sizes supported by the display chip, then the chip switches to the next larger supported screen size and fills the rest with black.

And the only way to prevent them is to go to exactly one supported screensize of the display.
which may cause distortions or blurring based on the difference between orgininal screen size and supported screen size and which method you use for the rransition.

and no, in 2D it is extremely different to support multiple screen sizes. There are ways, but they all have their disadvantages.
This will need a plugin (or two), so I've moved it over to the "where can I find this plugin" board~
Moved to: JS Plugin Requests (from MZ Support) By default the game preserves the original aspect ratio (width/height). If the game window is resized to another aspect ratio, borders appear to avoid stretching. Regardless, the player never sees more or less information than you: the game resolution remains the same, regardless of its display size.

Plugins can change this, though.
Thins sounds exactly like what I want to happen, could you give me more details on it?? Thaanks!! ^^
It would be useful if you specified exactly how do you want your game to adapt to different resolutions. For a somewhat extreme example, let's say someone plays it on an ultrawide screen (21:9). How would you want your game to look there? You mention that you want the game to fill the entire screen, don't want black bars and don't want to show the player a larger area - the only way to do that would be to stretch everything making it quite w i d e. Are you sure that's what you want?
In the case you are quoting it would be great if that person could see the game at full screen without any black borders and without the game itself stretching to fit the entire screen, is like somewhat the game adapts to the screen it is played at.
How could I do that? 🙁
I actually tried to create a plugin myself looking for information and trying the best I could do without any programming knowledge, it is like it tries to do something but there are always errors which appears to prevent from doing the functions, would it be useful if I copy paste the plugin here in order to know how could I get it to work?.
Thank you so much. ^^
How could I do that? 🙁
as I explained above, that would require you to learn the physical pixel size of the device the game is played on, before setting the screen size to that physical pixel number.

And that is not information automatically available to the engine.

I suggest that instead of automatically setting this, you'll use one of the plugins that allows the player to choose a screen size through the options, and provide options for all the more common display sizes around.
as I explained above, that would require you to learn the physical pixel size of the device the game is played on, before setting the screen size to that physical pixel number.

And that is not information automatically available to the engine.

I suggest that instead of automatically setting this, you'll use one of the plugins that allows the player to choose a screen size through the options, and provide options for all the more common display sizes around.
That sounds fair enough also, at least as a last resource for when I will be near desperation or ran out of hope, could you give me some examples of plugins which do that? Thanks a lot. 🙂
You'll need a plugin that can resize the width and height settings from the Database to fit with mobile device screen size. It's not the best way because your game might be cropped. OR, you can use sirl_MPTileScaling plugin (https://sirlegna.itch.io/sir-legnas-plugin-generator). This plugin can do that instead of changing your game width and height to fit with the mobile screen, it extends your game width and height to equal with the device screen. This is a feature that all other engines support.
You'll need a plugin that can resize the width and height settings from the Database to fit with mobile device screen size. It's not the best way because your game might be cropped. OR, you can use sirl_MPTileScaling plugin (https://sirlegna.itch.io/sir-legnas-plugin-generator). This plugin can do that instead of changing your game width and height to fit with the mobile screen, it extends your game width and height to equal with the device screen. This is a feature that all other engines support.
But I don't want to fit mobile screen sizes, I want it to be for all kind of pc's, monitors etc...
But I don't want to fit mobile screen sizes, I want it to be for all kind of pc's, monitors etc...
Then you should use the plugin I suggested.

Original thread: https://forums.rpgmakerweb.com/threads/screen-resolution-size-and-black-borders.156528/