MUSH: Screen Resolution Menu Option

Introduction:

I don't know why I didn't start a thread before for this plugin since I've created it a long time ago. It basically adds an option to tweak the game resolution in-game.

Note:

I didn't test on rpg maker mv version 1.6.0+ since that version forces you to update your old js files and it makes my project (on version 1.4.0) crashes. I only tested this plugin on version 1.4.0 and 1.51.

Features:

The player will have the ability to change the game resolution in-game from the game's option menu. The gamer creator has the ability to add different resolutions via the plugin's parameter very easily.

It is important to note that the "Scale Graphic" parameter is very important because it determines if the game will scale the original resolution to fit the new one, or simply render a larger canvas. Here are some examples:

If true: The game's aspect ratio, or the player's view-able canvas, will be determine by the original resolution, which is the first resolution in the resolution list parameter. If the original resolution is 816x624 and the player changes the resolution to 1280x720 for example, the game's window will be 1280x720, but the view-able canvas will be 942x720, centered, with black bars on the side. Also, the view-able part of the game will not grow, the image will only be bigger. This is the recommended setting.

If false: The game's aspect ratio, or the player's view-able canvas, will be determined by the current resolution. The image files used in the game will not be scaled. The player's view-able portion of the game will be bigger or smaller, the player will be able to view more or less depending on the resolution. This setting is not recommended, unless you know what you are doing, or know how to code to fix all the positioning of objects on the screen.

Versions:
- v.1.01: Original release.
- v.1.02: Added independence from the Menu Option Expansion plugin.
- v.1.03: Fixed some bugs that occurred when changing the resolution while in Fullscreen mode.

Image:

Tjl8iUE.png

Links:
- Website: https://www.kamostudiogroup.com/
- Patreon: https://www.patreon.com/kamostudiogroup
- Youtube video:


Download:
- Link: https://www.dropbox.com/s/g6r0o0kmyr022o5/$MUSH_MenuOptionScreenResolution_P1.js?dl=0
Hey!
it was im looking for!

but when i get high resolution its get blurry.





and can you block resolution not accepted by user monitor?
Hey!
it was im looking for!

but when i get high resolution its get blurry.





and can you block resolution not accepted by user monitor?

Hi! Don't forget that RPG Maker is a 2D rendering engine. It draws sprites on the screen. Resolution doesn't scale like with 3D models. When going higher than the resolution of the sprites, the engine will only scale your sprites. It's not creating a higher resolution sprites for you unfortunately. The ideal solution would be using sprites twice as big as necessary, but it's really realistic since all the tiles are 48x48.

Unless you set the 'Scale Graphics' parameter to false (which is not recommended if you're not a coder), or have bigger sprites that are scaled down in your game, resolution = window's dimension.
This plugin is amazing. The option to change the resolution in menu was great!
In RM MV 1.6.1+ on pc works ok. But on mobile didnt work.
Thanks!
This plugin is amazing. The option to change the resolution in menu was great!
In RM MV 1.6.1+ on pc works ok. But on mobile didnt work.
Thanks!

Thanks. Honestly I only tested up to version 1.5.2 and never tested outside of Windows 10. I'm happy enough it's working on version 1.6.1.
can export mobile HTML5 ?
can export mobile HTML5 ?
I think so. You can always test it. I know on mobile it might not work cause mobile works a bit different than PC/Mac/Linux.
test done
01. PC HTML5 not work
02. Mobile HTML5 not work
03. PC LOCAL ok
It this work for mobile?
It this work for mobile?
I have not tested this for mobile. One thing is for sure, this plugin doesn't control mobile specific parameters (orientation for instance).
Does this plugin still work well with the current MV version?

@MushroomCake28
So if I’m understanding this correctly, with “scale graphics” set true the aspect ratio will be enforced by scaling to nearest neighbor?

I use a plugin for changing the size of the tilegrid and a smaller than normal resolution (640x360).

If i set the available resolutions to:

640x360 (x1)
1280x720 (x2)
1920x1080 (x3)
2560x1440 (x4)

It would result in perfect scaling withletter and pillar boxing around the game window if the player doesn’t have a 16:9 display as is the case with most laptop computers, correct?

How does this plugin affect/not affect the F5 (fullscreen) key when it’s being pressed?
@Parallax Panda Sort of. When it is set to true, it will force to keep the aspect ratio of the first resolution. Basically, other resolutions are simply the first one scaled up or down.

The resolutions you are describing should work well since they are perfect scales (x1, x2, x3, x4).

The resolution shouldn't affect the fullscreen mode when the "Scale Graphics" is set to true. In that case, resolutions are more a way to force the window to a certain size rather than a true resolution change.

It should work fine with the current MV version.
This is an excellent plugin!

Would it be possible for one to add a full screen option as the last option in the list of resolutions available? I have 1920x1080 as a selectable but it seems to take in account my taskbar, so it actually doesn't give me that resolution at all. Having a separate full screen option overrides the resolution selected, as well, so that isn't useful. It would be a great addition to the plugin for sure! Maybe something that can be toggled on if you want to have it as an option or not?
This is an excellent plugin!

Would it be possible for one to add a full screen option as the last option in the list of resolutions available? I have 1920x1080 as a selectable but it seems to take in account my taskbar, so it actually doesn't give me that resolution at all. Having a separate full screen option overrides the resolution selected, as well, so that isn't useful. It would be a great addition to the plugin for sure! Maybe something that can be toggled on if you want to have it as an option or not?
This is actually quite an old plugin. I dont work and update my old plugins anymore. As for fullscreen, you can easily make the game fullscreen with F4.
Is it possible to have low resolution of only the graphics and keep text at a smaller size? Making the text smaller makes it unreadable as it is now.

2023-03-07 (3).png
Hey, MushroomCake28! Couldn't you add an auto reload function, right after changing the resolution, just like in DreamX Options plugin? So that all graphics would fall back into place and the player, for example, wouldn't see the strange location of the video on the title screen, from another plugin. I think this is a very important function.

Original thread: https://forums.rpgmakerweb.com/threads/mush-screen-resolution-menu-option.95333/