I haven't used RPG Maker in a while, so I forgot.
How do I make a window Opaque?
RPG Maker VXAce SupportYou will have to explain in more detail what you want to do. Do you mean the windowskin? A specific window in the game? The game window itself? Your query is too vague to be answered properly.
I just want all windows to be opaque
The
This makes most windows (excl. battle log, scrolling text, etc.) opaque.
back_opacity attribute defaults to 192. You need to set it to 255.
Ruby:
class Window_Base
alias initialize_wo_opaque initialize
def initialize(x, y, w, h)
initialize_wo_opaque(x, y, w, h)
self.back_opacity = 255
end
end
Yeah I couldn't find where its at.
You couldn't find the code cremnophobia posted?
He was giving you a solution. Copy the code and paste it below the default scripts and above main.
Then change the number in it to the value you desire. Any number from 0 to 255.
Thank you
wait I need like a tutorial or something Im just getting errors
Try again. There was a stray space.
Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-make-a-window-opaque.127935/