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
 

tale

Volunteer
Veteran
Joined
Dec 16, 2016
Messages
819
Reaction score
1,435
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

100 problems in RMMZ 100 more problems take one down pass it around 101 Problems in RMMZ
Made some progress on my game, mostly mapping. Learned quite a bit in the process!.

M6eUoTT.png
16 Hr Video Course on MZ? Huge DLC Pack from MZ's RTP Artist | RPG Maker News #110

I spent the past couple of days transferring my RM2K3 project over to RMMV. I upscaled everything 3x and it looks so cute I can't T_T
Small update on my random sprites sheet :kaoswt2:
cfcQKj8.png

Forum statistics

Threads
113,764
Messages
1,077,290
Members
147,802
Latest member
ariel638
Top