Is there a name for this?

Willibab

The Lord of Whackery
Regular
Joined
Jun 22, 2017
Messages
726
Reaction score
2,107
First Language
Norwegian
Primarily Uses
RMMZ
swdfsdfsdf.PNG
The background that is slightly darker color, is that called something? Command background? I'm trying to find out if its possible to change/edit them but I don't even know what they are called xD
 

r66r

Fantasy dreamer... sometimes.
Regular
Joined
Jan 5, 2020
Messages
163
Reaction score
164
First Language
French
Primarily Uses
RMMZ
Unless I'm mistaken, you can find the code that generates this backgroud in the rmmz_windows.js:

Code:
Window_Selectable.prototype.drawBackgroundRect = function(rect) {
    const c1 = ColorManager.itemBackColor1();
    const c2 = ColorManager.itemBackColor2();
    const x = rect.x;
    const y = rect.y;
    const w = rect.width;
    const h = rect.height;
    this.contentsBack.gradientFillRect(x, y, w, h, c1, c2, true);
    this.contentsBack.strokeRect(x, y, w, h, c1);
};

And the itemBackColor1 and itemBackColor2 are in rmmz_managers.js:

Code:
ColorManager.itemBackColor1 = function() {
    return "rgba(32, 32, 32, 0.5)";
};
ColorManager.itemBackColor2 = function() {
    return "rgba(0, 0, 0, 0.5)";
};

So you can modify them with a plugin that overrides these methods.
 
Last edited:

Latest Threads

Latest Posts

Latest Profile Posts

It's been long time since last I'm tinkering with RPG Maker ~
Turns out. I wasn't in my head accounting for when the Actor doesn't have a weapon equipped but DOES still have a Grimoire equipped... 40+ SV Spritesheets!!! D'x
Elemental chart based on taoism could be interesting.
Taotypes.png
Come and join me in 10 minutes for Trihan's Challenge Hour, where I'll be attempting a game of Cartographers where I can only position terrain in the orientation on the explore card! Following that will be the Wifestream, where Kytt will be trying out From Space for the first time! https://twitch.tv/trihanstreams
F***, I promised myself not to make overlong intros anymore, but the dialogues are again getting out of hand in a very visual novel kind of way, and there's only two fights against bats in between them...well, at least there's going to be a proper area with fights after this intro sequence. And the intro is a bit more lively with several locations and different scenes.

Forum statistics

Threads
135,043
Messages
1,253,261
Members
178,019
Latest member
comic10
Top