Question about windows

Obipandawan

Veteran
Veteran
Joined
Jul 27, 2020
Messages
52
Reaction score
14
First Language
English
Primarily Uses
RMMV
So i have not been able to figure out how to change this, but i don't want the bar behind the weapon / item information to be blue anymore and i seem to be missing where to change it. i attached a SS of what i am talking about and my current window layout.
 

Attachments

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
2,895
Reaction score
1,029
First Language
Dutch
Primarily Uses
RMMV
the blue background with attack: +45 and htose information?
if so, it might be somewhere in the param of the plugin or edit in
the code directly.

I dont know the plugin name of that window part to take a look though.
 

Obipandawan

Veteran
Veteran
Joined
Jul 27, 2020
Messages
52
Reaction score
14
First Language
English
Primarily Uses
RMMV
So i am using Yanfly Item Core, i just have not seen where i could change the color in the params in the editor i might have to dig through the code i guess
 

SeaPhoenix

Veteran
Veteran
Joined
May 14, 2015
Messages
251
Reaction score
232
First Language
English
Primarily Uses
RMMV
So if you search in Yanfly's Item Core, there's a drawDarkRect function that's responsible for this blue background. The color is set to the gauge back color. You can change the gauge back color for your entire game in the plugin parameters of Yanfly's Core Engine (needless to say, by its definition this will affect the darker rectangle behind your gauges, the one that's seen when your HP or MP is not full), or you can find this function in Item Core and change it to a different color just for the item screen.
 

Obipandawan

Veteran
Veteran
Joined
Jul 27, 2020
Messages
52
Reaction score
14
First Language
English
Primarily Uses
RMMV
i see now where to change it in the core engine, but im not seeing it in the parameters on item core, do i need to go into the JS file to remove it from that page completely? i do not like it on that page at all looks weird to me
 

SeaPhoenix

Veteran
Veteran
Joined
May 14, 2015
Messages
251
Reaction score
232
First Language
English
Primarily Uses
RMMV
Yes, it's a function in the YEP_ItemCore.js file. Open the js file in a code editor (like Notepad++ or or Visual Studio Code). Not sure how familiar you are with Javascript, but one easy way to get rid of that blue background in the Item Screen is to comment out the code within the drawDarkRect function.

I'll post the relevant code here since Item Core is available for free, so you can see how it's done - just add // to the beginning of each line within that function. // indicates that anything following it on that line is a comment.
Code:
Window_ItemStatus.prototype.drawDarkRect = function(dx, dy, dw, dh) {
    // var color = this.gaugeBackColor();
    // this.changePaintOpacity(false);
    // this.contents.fillRect(dx + 1, dy + 1, dw - 2, dh - 2, color);
    // this.changePaintOpacity(true);
};
Needless to say, if you download a new version of this plugin, you will have to do this again.

P/S: In the future, you can @ the person you're replying to in your post, otherwise I wouldn't have seen your reply if I hadn't checked this thread again.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,078
Members
137,580
Latest member
Snavi
Top