Familiar territory. Window_Base keeps the RPG Maker MZ API, so existing MZ knowledge, tutorials and plugin code apply. Reactor's additions are marked with descriptions below.
Quick Reference
Getting Information 2
| textPadding() | Text padding. |
| textColor() | Text color. |
Actions 1
| resetFontSettings() | MV font routing: MZ's resetFontSettings reads $gameSystem. |
Events, Commands & Input 1
| processCharacter() | Handles the character. |
Updating & Drawing 2
| updatePadding() | MV's updatePadding read standardPadding(); MZ's reads $gameSystem.windowPadding() and never consults the meth… |
| updateButtonsVisiblity() | Updates the buttons visiblity each frame. |
Other 29
| checkRectObject() | Check rect object. |
| standardPadding() | Standard padding. |
| standardBackOpacity() | Standard back opacity. |
| standardFontFace() | Standard font face. |
| standardFontSize() | Standard font size. |
| normalColor() | Normal color. |
| systemColor() | System color. |
| crisisColor() | Crisis color. |
| deathColor() | Death color. |
| gaugeBackColor() | Gauge back color. |
| hpGaugeColor1() | Hp gauge color1. |
| hpGaugeColor2() | Hp gauge color2. |
| mpGaugeColor1() | Mp gauge color1. |
| mpGaugeColor2() | Mp gauge color2. |
| mpCostColor() | Mp cost color. |
| powerUpColor() | Power up color. |
| powerDownColor() | Power down color. |
| tpGaugeColor1() | Tp gauge color1. |
| tpGaugeColor2() | Tp gauge color2. |
| tpCostColor() | Tp cost color. |
| pendingColor() | Pending color. |
| hpColor() | Hp color. |
| mpColor() | Mp color. |
| tpColor() | Tp color. |
| paramchangeTextColor() | Paramchange text color. |
| reserveFaceImages() | Reserve face images. |
| canvasToLocalX() | Canvas to local x. |
| canvasToLocalY() | Canvas to local y. |
| fittingHeight() | MV height semantics: MV's fittingHeight is numLines * lineHeight() + padding*2 and MV's Window_Selectable.ite… |
Getting Information
textPadding
method sourceWindow_Base.prototype.textPadding()
Text padding. (Same as the RPG Maker MZ method of this name.)
textColor
method sourceWindow_Base.prototype.textColor(n)
Text color. (Same as the RPG Maker MZ method of this name.)
Actions
resetFontSettings
method sourceWindow_Base.prototype.resetFontSettings()
MV font routing: MZ's resetFontSettings reads $gameSystem.
Details
MV font routing: MZ's resetFontSettings reads $gameSystem. mainFontFace()/mainFontSize() directly, bypassing the standardFontFace()/standardFontSize() hooks where MV plugins apply the game's configured font (YEP_CoreEngine "Font Size" — this game sets 23; MZ's default 26 rendered everything oversized). MV verbatim; our standard* defaults below delegate to $gameSystem main* anyway, so without plugin overrides the behavior is unchanged.
Events, Commands & Input
processCharacter
method sourceWindow_Base.prototype.processCharacter(textState)
Handles the character. (Same as the RPG Maker MZ method of this name.)
Updating & Drawing
updatePadding
method sourceWindow_Base.prototype.updatePadding()
MV's updatePadding read standardPadding(); MZ's reads $gameSystem.windowPadding() and never consults the method at all.
Details
MV's updatePadding read standardPadding(); MZ's reads
$gameSystem.windowPadding() and never consults the method at all.
Restoring standardPadding() alone therefore gives plugins a padding
hook that changes nothing: Window_Foo.standardPadding = () => 0
still leaves this.padding at MZ's 12, so innerWidth/innerHeight --
and with them the client area's clip rect -- come out 24px short in
each direction while the window sizes itself from the override.
Small windows lose most of their contents to that gap. YEP_X_Autosave is 36px tall (fittingHeight(1) with its padding of 0), so its client area clipped to 36 - 24 = 12px and two thirds of the banner vanished. Ten plugins in one project return 0 from standardPadding.
Windows that don't override it are unaffected: the default above returns $gameSystem.windowPadding(), which is what MZ used anyway.
updateButtonsVisiblity
method sourceWindow_Base.prototype.updateButtonsVisiblity()
Updates the buttons visiblity each frame. (Same as the RPG Maker MZ method of this name.)
Other
checkRectObject
method sourceWindow_Base.prototype.checkRectObject(rect)
Check rect object. (Same as the RPG Maker MZ method of this name.)
standardPadding
method sourceWindow_Base.prototype.standardPadding()
Standard padding. (Same as the RPG Maker MZ method of this name.)
standardBackOpacity
method sourceWindow_Base.prototype.standardBackOpacity()
Standard back opacity. (Same as the RPG Maker MZ method of this name.)
standardFontFace
method sourceWindow_Base.prototype.standardFontFace()
Standard font face. (Same as the RPG Maker MZ method of this name.)
standardFontSize
method sourceWindow_Base.prototype.standardFontSize()
Standard font size. (Same as the RPG Maker MZ method of this name.)
normalColor
method sourceWindow_Base.prototype.normalColor()
Normal color. (Same as the RPG Maker MZ method of this name.)
systemColor
method sourceWindow_Base.prototype.systemColor()
System color. (Same as the RPG Maker MZ method of this name.)
crisisColor
method sourceWindow_Base.prototype.crisisColor()
Crisis color. (Same as the RPG Maker MZ method of this name.)
deathColor
method sourceWindow_Base.prototype.deathColor()
Death color. (Same as the RPG Maker MZ method of this name.)
gaugeBackColor
method sourceWindow_Base.prototype.gaugeBackColor()
Gauge back color. (Same as the RPG Maker MZ method of this name.)
hpGaugeColor1
method sourceWindow_Base.prototype.hpGaugeColor1()
Hp gauge color1. (Same as the RPG Maker MZ method of this name.)
hpGaugeColor2
method sourceWindow_Base.prototype.hpGaugeColor2()
Hp gauge color2. (Same as the RPG Maker MZ method of this name.)
mpGaugeColor1
method sourceWindow_Base.prototype.mpGaugeColor1()
Mp gauge color1. (Same as the RPG Maker MZ method of this name.)
mpGaugeColor2
method sourceWindow_Base.prototype.mpGaugeColor2()
Mp gauge color2. (Same as the RPG Maker MZ method of this name.)
mpCostColor
method sourceWindow_Base.prototype.mpCostColor()
Mp cost color. (Same as the RPG Maker MZ method of this name.)
powerUpColor
method sourceWindow_Base.prototype.powerUpColor()
Power up color. (Same as the RPG Maker MZ method of this name.)
powerDownColor
method sourceWindow_Base.prototype.powerDownColor()
Power down color. (Same as the RPG Maker MZ method of this name.)
tpGaugeColor1
method sourceWindow_Base.prototype.tpGaugeColor1()
Tp gauge color1. (Same as the RPG Maker MZ method of this name.)
tpGaugeColor2
method sourceWindow_Base.prototype.tpGaugeColor2()
Tp gauge color2. (Same as the RPG Maker MZ method of this name.)
tpCostColor
method sourceWindow_Base.prototype.tpCostColor()
Tp cost color. (Same as the RPG Maker MZ method of this name.)
pendingColor
method sourceWindow_Base.prototype.pendingColor()
Pending color. (Same as the RPG Maker MZ method of this name.)
hpColor
method sourceWindow_Base.prototype.hpColor(actor)
Hp color. (Same as the RPG Maker MZ method of this name.)
mpColor
method sourceWindow_Base.prototype.mpColor(actor)
Mp color. (Same as the RPG Maker MZ method of this name.)
tpColor
method sourceWindow_Base.prototype.tpColor(actor)
Tp color. (Same as the RPG Maker MZ method of this name.)
paramchangeTextColor
method sourceWindow_Base.prototype.paramchangeTextColor(change)
Paramchange text color. (Same as the RPG Maker MZ method of this name.)
reserveFaceImages
method sourceWindow_Base.prototype.reserveFaceImages()
Reserve face images. (Same as the RPG Maker MZ method of this name.)
canvasToLocalX
method sourceWindow_Base.prototype.canvasToLocalX(x)
Canvas to local x. (Same as the RPG Maker MZ method of this name.)
canvasToLocalY
method sourceWindow_Base.prototype.canvasToLocalY(y)
Canvas to local y. (Same as the RPG Maker MZ method of this name.)
fittingHeight
method sourceWindow_Base.prototype.fittingHeight(numLines)
MV height semantics: MV's fittingHeight is numLines * lineHeight() + padding*2 and MV's Window_Selectable.itemHeight === lineHeight().
Details
MV height semantics: MV's fittingHeight is numLines * lineHeight()
- padding*2 and MV's Window_Selectable.itemHeight === lineHeight(). MZ changed fittingHeight to multiply by itemHeight() and padded itemHeight to lineHeight()+8. MV plugins overriding itemHeight (LeTBSWindows' Window_TBSPositioning: lineHeight*4) get catastrophically oversized windows under MZ semantics — fittingHeight(12) returned 1752px instead of ~504. The two overrides must ship together: MV fittingHeight alone would clip the last row of every list drawn at MZ's padded row height.