Because I design my own menus within the menu system, this has become a huge issue for my project. I've done a lot of research on how to make windows stop covering each other up even after being made transparent with no success so far... until now. I downloaded http://sumrndm.site/window-layers/ SumRandomDude's plugin but unfortunately it didn't work for my MZ project, but his code pointed me in the right direction.
After more frustration, I bowed my head, said a prayer, and asked Jesus to help me find the answer to this... and He did.
Here's a screenshot when my windows are visible
Here's a screenshot when my windows are transparent. As you can see, the window IS transparent, but still overlaps the image behind it.
After Jesus showed me what code I needed to put in, here's what I got.
The last line is the code that made all the difference. When creating the window in a function, you need to tell the window that it's actually NOT a real window, which will then make the window itself invisible while keeping the graphic assigned to it still visible. BRILLIANT!!
Code that made the difference: --> this._waxSealWindow._isWindow = false;
If you need help setting this up in JS, send me a PM. Hope this helps someone because this is a big find for me tonight!!
After more frustration, I bowed my head, said a prayer, and asked Jesus to help me find the answer to this... and He did.
Here's a screenshot when my windows are visible
Here's a screenshot when my windows are transparent. As you can see, the window IS transparent, but still overlaps the image behind it.
After Jesus showed me what code I needed to put in, here's what I got.
The last line is the code that made all the difference. When creating the window in a function, you need to tell the window that it's actually NOT a real window, which will then make the window itself invisible while keeping the graphic assigned to it still visible. BRILLIANT!!
Code:
Scene_Menu.prototype.createWaxSealWindow = function() {
const rect = this.waxSealWindowRect();
this._waxSealWindow = new Window_WaxSeal(rect);
this.addWindow(this._waxSealWindow);
this._waxSealWindow._isWindow = false;
};
Code that made the difference: --> this._waxSealWindow._isWindow = false;
If you need help setting this up in JS, send me a PM. Hope this helps someone because this is a big find for me tonight!!