So since my game has a smaller resolution of 480 x 432, i am using YEP Core Engine to do so. However, everything is scaled except the windows and text, leading to an unsightly look. I am requesting a simple extension to the plugin that will scale the windows and text to the specified resolution like the battlebacks, title screen, and game over.
MV Scale windows and text to resolution
JS Plugin RequestsYou might be able to use something like SRD Supertools Engine to pull this off, assuming your game doesn't deploy to mobile, as it doesn't work on mobile. The main issue you're going to run into here is that most windows are not designed to be that small in the first place. Text padding on windows takes (I think?) 16 pixels of space off the top, bottom, and each side of all windows. With your main game window that small, the message window is gonna be something like 480 x 144, so the drawable space in that window is going to be more like 448 x 112.
With a font size small enough to still fit the normal four lines of text, your text is going to be almost unreadable, and even with just two lines it's still gonna be pretty squished I'd think. Yanfly's plugins were mostly designed for game window sizes larger than the default, and several of his plugins already don't play well with the default 816 x 624.
With a font size small enough to still fit the normal four lines of text, your text is going to be almost unreadable, and even with just two lines it's still gonna be pretty squished I'd think. Yanfly's plugins were mostly designed for game window sizes larger than the default, and several of his plugins already don't play well with the default 816 x 624.
What would the text size need to be? and what about the rest of the windows? Also, unfortunately i want this to be for mobile, so i fear that isn't an option...
I think in MV the default font size is 26, with the default linespacing being 32 pixels? With a window height of 144, and no padding at all (meaning the text runs right to all four corners of the window if it could), you could technically fit four lines, I think. Even have space for padding of 8 pixels on all sides, although cutting it like that is probably going to cut off the bottom of g's and p's and whatnot.
Like I said though, the default layout of all of the yanfly plugins was not designed with small windows like that in mind, so even if all the lines could fit, you'd need to manually edit those plugins to change the font sizes and linespacing values to make the same information fit in a much smaller space.
The main actor window on the main menu, for example, is already set to display JP and actor class name in basically the same spot on a default 816x624 game window. Your window size is much smaller, and isn't the same aspect ratio either, so all kinds of text is going to run together.
Like I said though, the default layout of all of the yanfly plugins was not designed with small windows like that in mind, so even if all the lines could fit, you'd need to manually edit those plugins to change the font sizes and linespacing values to make the same information fit in a much smaller space.
The main actor window on the main menu, for example, is already set to display JP and actor class name in basically the same spot on a default 816x624 game window. Your window size is much smaller, and isn't the same aspect ratio either, so all kinds of text is going to run together.
Original thread: https://forums.rpgmakerweb.com/threads/scale-windows-and-text-to-resolution.136824/