FeliPereira97

Veteran
Veteran
Joined
Jun 27, 2018
Messages
33
Reaction score
3
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
3
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
1,049
Reaction score
1,722
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: 1

Latest Threads

Latest Posts

Latest Profile Posts

DamageEvil_7.png added!
index.php

Trying to pixel a stone and feeling like I forgot how to do pixel art in itself.
Meu objetivo é criar novas amizades com desenvolvedores de games específicos do RPG Maker MV.
New sprites & animations for Mint and Beri are coming along!
Guh-Colorbound.gif

Forum statistics

Threads
125,811
Messages
1,173,790
Members
164,982
Latest member
DizzyIzzy
Top