Make Text Box Opaque

eat beans

A being of pure evil
Veteran
Joined
Aug 9, 2017
Messages
40
Reaction score
13
First Language
English
Primarily Uses
RMMV
Is there any way to make the text box completely opaque, as in not see through. Thanks.
 

Tatsumaro

Veteran
Veteran
Joined
Aug 11, 2016
Messages
205
Reaction score
40
First Language
Portugues
Primarily Uses
RMMV
you can alter the Window.png in img/system
 

Llareian

Jack of All Trades, Master of None
Veteran
Joined
Jan 26, 2017
Messages
604
Reaction score
1,421
First Language
English
Primarily Uses
RMMV
To clarify what Tatsumaro said, here is a post showing a template of what the parts of window.png are. You need to put an opaque color in the "Body" section.

However, that alone isn't sufficient to make the window background opaque, because by default the opacity of the windows is 192 (out of 255).

To get the window truly opaque, you also need to edit your project's \js\rpg_windows.js file. You need to find this function:
Code:
Window_Base.prototype.standardBackOpacity = function() {
    return 192;
};
And change it to this:
Code:
Window_Base.prototype.standardBackOpacity = function() {
    return 255;
};
 

eat beans

A being of pure evil
Veteran
Joined
Aug 9, 2017
Messages
40
Reaction score
13
First Language
English
Primarily Uses
RMMV
To clarify what Tatsumaro said, here is a post showing a template of what the parts of window.png are. You need to put an opaque color in the "Body" section.

However, that alone isn't sufficient to make the window background opaque, because by default the opacity of the windows is 192 (out of 255).

To get the window truly opaque, you also need to edit your project's \js\rpg_windows.js file. You need to find this function:
Code:
Window_Base.prototype.standardBackOpacity = function() {
    return 192;
};
And change it to this:
Code:
Window_Base.prototype.standardBackOpacity = function() {
    return 255;
};
Thanks!
 

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

Latest Threads

Latest Profile Posts

I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

A bit of a "sparkle" update to the lower portion of the world map. :LZSexcite:
attack on titan final season is airing tomorrow, I'm excited and scared at the same time!

Forum statistics

Threads
105,882
Messages
1,017,230
Members
137,607
Latest member
Maddo
Top