Background Transparency in windows

I am using the default window skin and I am wondering what, in scripts or other wise, would cause this:

Ignoring that this is a script changing the menu, and no it has nothing to do with the script because the background is as opaque as this with the default menu system. How do I add some transparency? I edited the main window skin and deleted the main graphic bellow the top graphic that shows the color of the core window.

but that didn't change anything.

is there a script call or...
In the window somewhere e.g. in the initialize method add:


self.opacity = 0


or


self.back_opacity = 0


I always forget which way round it is.
none of those seem to exist oO

found it. but neither of those fixed the issue.I have also ruled out scripts that might cause this.
Isn't it something to do with the colour you choose for the window in your System tab?
no. or at least not that I know of. I have tried fooling around with it, same result.

would it be bad if I just left it?
Window background opacity should be about 160 by default (I think - number might be different). If it's not that - if it's 255, then you must have changed it somewhere. Are you using any custom menu scripts?
or you can put transparency in the image itself using any image editing program...
Window background opacity should be about 160 by default (I think - number might be different). If it's not that - if it's 255, then you must have changed it somewhere. Are you using any custom menu scripts?
Where is this set by default? so I can search the scripts for it? As stated I thought I ruled out scripts but its always fun to recheck

or you can put transparency in the image itself using any image editing program...
Already tried that, no effect.

I should also add I tried creating a new project copying everything over, one at a time, script wise, and everything worked fine. then when I copied the project to my drop box folder and ran the game a few times is when i got the errors.
The help file says, of the Window class, that back_opacity has a default value of 192.


So just do a global script search (control+shift+f) for back_opacity to see if there's anything that changes it.


Aaaaaand, on second thoughts, I think the issue might simply be that you've got it on a black (or very dark) background. Try using a picture as a background and see if your windows become semi-transparent.
if it's black, I don't think the transparency will really show right as shaz said... I personally have no issues when I put transparency using paint.net on my gray windowskin...
make a completely new window with the whole left half transparent and name it window2 and place it in the systems folder

class Window_Base < Window  def initialize(x, y, width, height)    self.windowskin = Cache.system("Window") if !SceneManager::scene_is?(Scene_Menu)    self.windowskin = Cache.system("Window2") unless !SceneManager::scene_is?(Scene_Menu)  endendwith the left side transparent, the back of the window wont appear. if you clear the top-right  quarter of the window, it will be boarderless. But it needs to be transparent alpha.

EDIT::

reading what was written when writing this, that is probably not the issue. As for what you might be experiencing, I'm not much help being mostly colorblind.
The help file says, of the Window class, that back_opacity has a default value of 192.

So just do a global script search (control+shift+f) for back_opacity to see if there's anything that changes it.

Aaaaaand, on second thoughts, I think the issue might simply be that you've got it on a black (or very dark) background. Try using a picture as a background and see if your windows become semi-transparent.
I wanted to test something so I made a window skin that was:

(Notice how the whole left side is transparent.)

I checked my color jazz for this window:

I don't think that's dark at all, So I didn't touch it. So lets go look for back_opacity

The only script touching it is learn skill, I tried changing it's value to 0, no effect. So I ruled it out, I also ruled out the message script because upon playing with that, it turned out to only affect messages.

Any other ideas?

Oh my end result, from messing with the window skin:

So..... Whats next?

if it's black, I don't think the transparency will really show right as shaz said... I personally have no issues when I put transparency using paint.net on my gray windowskin...
See my response to him. 

make a completely new window with the whole left half transparent and name it window2 and place it in the systems folder

class Window_Base < Window  def initialize(x, y, width, height)    self.windowskin = Cache.system("Window") if !SceneManager::scene_is?(Scene_Menu)    self.windowskin = Cache.system("Window2") unless !SceneManager::scene_is?(Scene_Menu)  endendwith the left side transparent, the back of the window wont appear. if you clear the top-right  quarter of the window, it will be boarderless. But it needs to be transparent alpha.

EDIT::

reading what was written when writing this, that is probably not the issue. As for what you might be experiencing, I'm not much help being mostly colorblind.
I get this error when trying to run your script, regardless of script position:

Code:
Window Fix:3:in `windowskin=': disposed window (RGSSError)        from Window Fix:3:in `initialize'        from Window_Selectable:19:in `initialize'        from Window_Command:14:in `initialize'        from Window_TitleCommand:12:in `initialize'        from Scene_Title:92:in `new'        from Scene_Title:92:in `create_command_window'        from Scene_Title:17:in `start'        from Scene_Base:12:in `main'        from SceneManager:23:in `run'        from Grab Map:969:in `run'        from Main:18:in `block in <main>'
Did you do this?

... I think the issue might simply be that you've got it on a black (or very dark) background. Try using a picture as a background and see if your windows become semi-transparent.
And I'm a she, not a he 😉

Original thread: https://forums.rpgmakerweb.com/threads/background-transparency-in-windows.15871/