help with manipulating windows.

ougitou1

Invisible Black
Veteran
Joined
Dec 9, 2015
Messages
109
Reaction score
10
First Language
en-
Primarily Uses
N/A
hi i've been having trouble with this fer a while now and it seems that i'm no closer to solving this issue so ill ask for help.
how does one manipulate the visibility of windows through script and is it less costly to hide it or disable it to turn it on again when needed. thanks i appreciate any and all info.
 

gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
2,186
Reaction score
1,162
First Language
Spanish
Primarily Uses
RMVXA
windows are scene objects, so if you want to grab a window from outside the scene you need to grab the scene first.
usually whatever instruction you send to the program is run at scene level, because only one can be active at any time, so you'd just grab the window directly, but if you're working at common event level, you have to grab the scene first.

when you jump in between windows via sub menus or buttons, you're disabling and enabling windows as you go.
even tho things seem to run in parallel, only one object of one window of one scene is ever active at one given time, so when you make one window active, everything else goes inactive by default.

that's Interface-101, for these games: scene, window, cursor.
and when you're not handing cursors, you're handling the player, which runs in a separate scene with another structure.
 

ougitou1

Invisible Black
Veteran
Joined
Dec 9, 2015
Messages
109
Reaction score
10
First Language
en-
Primarily Uses
N/A
Hmm ok, my problem lies in the fact that the windows in my current scene are not active but still very visible, and in being visible when it’s not necessary it takes away from the fluidity of the menu system and thus causes a problem. Also the frame rate seems to drop with lower devices when more windows visible?
Anyway I’d like to know how to disable and hide windows. For the reason mentioned above, it kinda... uh... protrudes?? @gstv87
 
Last edited:

ougitou1

Invisible Black
Veteran
Joined
Dec 9, 2015
Messages
109
Reaction score
10
First Language
en-
Primarily Uses
N/A
This query has been solved, pease close this thread.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

When you discover great tileset resources that you completely forgot that you had. :kaomad3::kaopride:
Just got a better look at the MZ RTP. I'm very happy with it, especially the sci-fi tiles and sprites. Glad I pre-ordered.
I've just checked the VisuStella Plugins for MZ and there are already 11 plugins. The Yanfly team(perhaps a big one?) really works so effectively and efficiently that some MZ users can likely use tons of Yanfly plugins right after MZ's released (still 13 days from now). I wonder if any other plugin developer(or team) will try to compete with Yanfly this time, no matter how slim the chance to win is :)
Hello! :kaopride:I am new to RPG Maker, though I have been lurking the forums for a while. :kaoswt: Hope to make some friends and learn some stuff here! :kaothx:
And now since I've got the whole game parts working, the *contents* await.

Forum statistics

Threads
100,595
Messages
977,586
Members
132,194
Latest member
linkvaovn88com
Top