Iavra WindowLayer Fix

Iavra

Veteran
Veteran
Joined
Apr 9, 2015
Messages
1,797
Reaction score
859
First Language
German
Primarily Uses
Description


Fixes the WindowLayer class, by removing seemingly unneeded and restricting functions from it.


Author


Iavra


How to Use


Simply place anywhere in your plugin list. After adding this plugin, you will be able to do the following things, that were previously impossible:


- Adding overlapping windows via scene.addWindow().


- Using PIXI masks, which act like a more flexible version of VX Ace's viewports.


Note, that this plugin will cause the target window in the default battle system to display on top of the status window. I decided not to fix this, since it might interfere with custom battle systems and most people are using one of those, anyway.


Download


http://pastebin.com/CYRjwcHD


Update: The WindowLayer has been fixed in MV 1.3, so there is no reason to use this plugin, anymore.
 
Last edited by a moderator:

Jeremy Cannady

Coldfire
Veteran
Joined
Oct 25, 2015
Messages
449
Reaction score
262
First Language
English
EXCELLENT, 
I have tested and can make circular windows now. The only problem is the border doesn't show but that.s ok.

Is the any ramifications of doing this?

Why would they have that code if it served no purpose?
 

Iavra

Veteran
Veteran
Joined
Apr 9, 2015
Messages
1,797
Reaction score
859
First Language
German
Primarily Uses
That's what i'm trying to find out over the course of this weekend, and the reason why this is in "JS Plugins in Development" and not released ^^
 

Jeremy Cannady

Coldfire
Veteran
Joined
Oct 25, 2015
Messages
449
Reaction score
262
First Language
English
Well I have already been using it and making a test window.

It is coming along nicely. I haven't run into any problems yet. It draws the window and clips it out just fine.
 

Iavra

Veteran
Veteran
Joined
Apr 9, 2015
Messages
1,797
Reaction score
859
First Language
German
Primarily Uses
I found the first issue:


When selecting a target in battle, the target window is rendered on top of the status window. Usually, you would only see the top window, since by default windows cut out from each other, but with the modification, you can see the underlying status window (if windows are semi-transparent, which they usually are).


Note sure, if this is really an issue, since most user are using a custom battle system, anyway, but that shouldn't be hard to fix (hide the status window when selecting a target, show it afterwards).


/edit: I'm thinking about not fixing this and just point it out in the plugin description. Changing the battle system in a non-battle system related script might cause a lot of issues, ater all.


//edit: So, if skipped over the scenes, and it seems like Scene_Battle is indeed the only place that visibly changes with this plugin (and only for this particular window).


///edit: Included a way to actually detect, whether this plugin is active, so other plugins can use it as a dependency.
 
Last edited by a moderator:

Quxios

Veteran
Veteran
Joined
Jan 8, 2014
Messages
1,055
Reaction score
782
First Language
English
Primarily Uses
RMMV
Awesome! To think the fix was something that small.
 

MikePjr

Artist
Veteran
Joined
Nov 7, 2012
Messages
555
Reaction score
234
First Language
English
Primarily Uses
I am having a strange bug.

There is a constant window showing in the upper left corner of my screen where.

It never goes away, and i'm not sure what's causing it.

I figured it out, it's Yanfly's Message core.
 
Last edited by a moderator:

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

Latest Threads

Latest Posts

Latest Profile Posts

buinguyenhoangtho wrote on fizzly's profile.
Hello @fizzly, i would like to use your asset/ resource for my project ( is maybe commercial ). May i have your permission? Thanks you !
Working on breaking the limits of RPGMaker! :cool:
I have 470+ hours on RMMV but have only made a demo game, is this normal? :kaoswt: (I lose motivation a lot plus I use a 32gb laptop, so..)
I like Iron Maiden.
Benku wrote on Magnus0808's profile.
Hey man you helped me out a long time ago with a plugin i was wondering if you can help me out one more time since its literally the last thing i need help with if not is cool but id figured id ask you one more soild.

Forum statistics

Threads
95,427
Messages
929,082
Members
125,659
Latest member
AphoticAmaranth
Top