Android Deployment - Clipped letters in message box

Hello people!
When I'm exporting my project to android, the message box is cutting a few words.
I checked if it was plugins problem, and I made a new clean project and reproduced the message. The problem persisted.

The resolution is the default 816x624.

In the editor and playtest on the desktop, the messages appear normally, all working.
But as soon as I export to android the same thing happens, the message box is cut off and / or the letters are cut off.

Does anyone have a tip? Does exporting to android change anything in font?

Here is the config of the event and the prints:

Spoiler: Event config
CQJslRL.png

Spoiler: Desktop print
pJn7xWn.png

Spoiler: MOBILE PRINT
AvtwEZa.png

I already tried not to use Dim. I've used it with the normal Window. I've put the window on bottom. But the problem persists.

[[EDIT]] Another example, It looks like the FONT is being bigger when performing the deployment for mobile.

Spoiler: Another example
ZkuVtAP.png
k5Wm3F2.jpg
Ah, the dreaded mobile development 😀 I don't think it's bigger font. Had it been bigger font, the you'd have a problem with the size of the window. It looks like the opposite problem to me. The android browser rescales the window width.
If you want, you can try this script (input it as a script event command and trigger the event in game):
Code:
alert("Graphics width: "  + Graphics.boxWidth);
alert("Window width: " + window.innerWidth);
alert ("Window height: " + window.innerHeight);
alert("Window width / height: " + window.innerWidth / window.innerHeight);

Let's see what these four alerts print both for desktop and for mobile version.
Yeah.. the "dreaded mobile development" hahahuahaha ;_;

Well you are right! see the logs:

DESKTOP
Graphics width 816
window width 816
window height 624
window width / height 1.3076923076923077

MOBILE
Graphics width: 816
Window width: 640
Window height: 360
Window width / height: 1.77777777777...

i try to use the community basic with the 816x624 too, but the results are the same.
Maybe exist some plugin that prevent this?
Or it has nothing to do with the rpg maker mv code, but with the mobile itself?
I'm afraid it has to do with the built-in browser of your mobile and nothing can be done about it, since if you transform the font style for this mobile, you'll completely break it wherever it works. Either way, I can't recommend mobile development. You need to pretty much support every mobile individually and on top of that the google play store is too bloated to be of any use.
I'm afraid it has to do with the built-in browser of your mobile and nothing can be done about it, since if you transform the font style for this mobile, you'll completely break it wherever it works. Either way, I can't recommend mobile development. You need to pretty much support every mobile individually and on top of that the google play store is too bloated to be of any use.
Yeah... Im almost quiting the mobile development :/
Thanks for the reply!
Mobile development isnt that bad as long as you assume your player has a screen size of x or above. There are things that can be done to make the entire debugging process much simpler. 🙂
Mobile development isnt that bad as long as you assume your player has a screen size of x or above. There are things that can be done to make the entire debugging process much simpler. 🙂
Yeah. But for months i'm trying to learn the mobile development in rpg maker mv. And i got a lot of problems...
In the case of this topic, i already tried to put a screen of 1104x624 and if the window message is still 816 width, the words get cutted. :/
I mean there is a way to adapt. I reduce the size of the font by -4 and it works ok.
But I will have to test a lot of things like
The help windows, battle log etc.
With luck, only the message window has affected by this problem.
In fact, I think developing only for mobile will be much easy. But I'm trying to do both(desktop and mobile). But with all this problems(like the tilesize of mv that make the screen resolutions not match with the 16:9 ratio Or the problem that a LOT of mobile phones somehow can't draw the tiles proper, causing distortions in all Tileset and some lines across the screen.) it's been proved a lot of challenge. But I'm still learning, and maybe one day I can have a "template" project that I will know for sure that will work on both pc and mobile. But sometimes I fell like I will give up 🙁
Hi there!
Just passing here to say that I manage to found two fixes for that:

1 - Put one of the code below in a .js file and add via plugin manager, like a plugin.
Put your default font size and for mobile put -4 of your default font size.

Spoiler: Change the font size of all game if it is Mobile Device
Code:
Window_Message.prototype.standardFontSize = function() {
    if(Utils.isMobileDevice()) {
        return 24;
    } else {
        return 28;
    }
};

Spoiler: Change the font size only in the message window for mobile devices
Code:
Window_Base.prototype.standardFontSize = function() {
    if(Utils.isMobileDevice() && $gameMessage.isBusy()) {
        return 24;
    } else {
        return 28;
    }
};

2 - Use the Yanfly Message Core with WordWrap On.
Thread closed IgnoreMe

Original thread: https://forums.rpgmakerweb.com/threads/android-deployment-clipped-letters-in-message-box.108668/