Starting tl of inrot
This commit is contained in:
parent
c3f515efd4
commit
6970b28540
3 changed files with 210 additions and 427 deletions
629
data/Map012.json
629
data/Map012.json
File diff suppressed because it is too large
Load diff
|
|
@ -7,7 +7,7 @@
|
|||
"uiAreaHeight": 720,
|
||||
"numberFontFilename": "mplus-2p-bold-sub.woff",
|
||||
"fallbackFonts": "Verdana, sans-serif",
|
||||
"fontSize": 27,
|
||||
"fontSize": 19,
|
||||
"mainFontFilename": "Logotype.otf",
|
||||
"windowOpacity": 255,
|
||||
"screenScale": 1,
|
||||
|
|
|
|||
|
|
@ -407,18 +407,18 @@ Window_Base.prototype.processDrawIcon = function(iconIndex, textState) {
|
|||
|
||||
Window_Base.prototype.makeFontBigger = function() {
|
||||
if (this.contents.fontSize <= 96) {
|
||||
this.contents.fontSize += 12;
|
||||
this.contents.fontSize += 6;
|
||||
}
|
||||
};
|
||||
|
||||
Window_Base.prototype.makeFontSmaller = function() {
|
||||
if (this.contents.fontSize >= 24) {
|
||||
this.contents.fontSize -= 12;
|
||||
this.contents.fontSize -= 6;
|
||||
}
|
||||
};
|
||||
|
||||
Window_Base.prototype.calcTextHeight = function(textState) {
|
||||
const lineSpacing = this.lineHeight() - $gameSystem.mainFontSize();
|
||||
const lineSpacing = this.lineHeight() - $gameSystem.mainFontSize() - 8;
|
||||
const lastFontSize = this.contents.fontSize;
|
||||
const lines = textState.text.slice(textState.index).split("\n");
|
||||
const textHeight = this.maxFontSizeInLine(lines[0]) + lineSpacing;
|
||||
|
|
|
|||
Loading…
Reference in a new issue