FeliPereira97

Veteran
Veteran
Joined
Jun 27, 2018
Messages
33
Reaction score
2
First Language
Portuguese
Primarily Uses
RMMV
In 854x480 resolution (ideal for mobile), the keyboard when inputting text is cut at the bottom. Is there any alternative to this one? Or is there a way to change the top box's size?.
Thanks in advance
upload_2019-7-31_13-17-40.png
 

PhxFire

The Eternal Flame
Veteran
Joined
Jul 1, 2019
Messages
131
Reaction score
69
First Language
English
Primarily Uses
RMMV
Try the SRD_SuperToolsEngine Plugin, it makes editing menu boxes extremely easy
 

FeliPereira97

Veteran
Veteran
Joined
Jun 27, 2018
Messages
33
Reaction score
2
First Language
Portuguese
Primarily Uses
RMMV
I had tried this before, but then my game wouldn't work on mobile
 

ovate

tale
Veteran
Joined
Dec 16, 2016
Messages
860
Reaction score
1,489
First Language
English
Primarily Uses
N/A
Here's a snippet, edits are from Window_NameEdit in rpg_windows.js (Version 1.5.1)
Code:
Window_NameEdit.prototype.windowHeight = function() {
    return this.fittingHeight(2); // default, return this.fittingHeight(4); (changes top box size)
};

Window_NameEdit.prototype.itemRect = function(index) {
    return {
        x: this.left() + index * this.charWidth(),
        y: 24, // default, y: 54, (position for name text)
        width: this.charWidth(),
        height: this.lineHeight()
    };
};

It should fit in with 854x480 resolution. Face graphic is cut off a bit.

q3DdF9G.png


Dropbox link: https://www.dropbox.com/s/eg1my3za5g08qc0/NameInputMobile.js?dl=1
 

Attachments

  • NameInputMobile.js
    422 bytes · Views: 0

Latest Threads

Latest Profile Posts

Another comic with Backstage Malak...
If you want to ask him anything, you can ask on my DeviantArt page! I'm not sure if you're allowed to do it here.
Forum tip of the day ...
If you get a temporary suspension for being a jerk to people who are trying to help you, and arguing with mods and admins, don't go making new accounts. Chances are, if you p**s us off enough to suspend you for a week, we're not going to hesitate giving you a permanent ban when you give us a reason.
E_6fAErVkAQILXu.png
I'm so close to releasing my game on steam! :blush::blush::blush:
Us:
"This game is awesome! I wish there are more games like this in the future."
Also us:
"I hate how games stopped being original and start copying other successful games."
Should've done this a few days ago but...
PRI_200136808.jpg
Rest in Peace, Sir Clive Sinclair
1940 - 2021
Entrepreneur, Technologist, Father of the Modern British Computing Industry, and protagonist of Legend of ZUN.

Without you, England's games and tech industry wouldn't be where it is.

Forum statistics

Threads
115,287
Messages
1,088,661
Members
149,913
Latest member
badalias
Top