Lecode

(─‿‿─)
Veteran
Joined
Dec 18, 2013
Messages
490
Reaction score
661
First Language
French
Primarily Uses
N/A

Drag and Move Windows V 1.0


By Lecode




Introduction


This plugin was initialy made along with my TBS to allow the player to move windows on the screen at his ease.
I noticed it could be usefull for any other scene which want to give more control to player, so I release it as a standalone plugin.


Gif


https://imgflip.com/gif/16bfip


Terms of Use


-Credit required


-Free for commercial use


Plugin


Here.
 

Wilkituska

Advanced Chicken
Member
Joined
Aug 6, 2014
Messages
18
Reaction score
5
First Language
Spanish
Primarily Uses
That looks cool. Probably, I won't use this myself, but I guess this opens the possibility of other draggable objects, such as images and stuff, and that makes me happy  :D
 

kovak

Silverguard
Veteran
Joined
Apr 3, 2016
Messages
1,264
Reaction score
1,565
First Language
PT - EN
Primarily Uses
RMMV
I'm kinda lost about how i set the windows i wanna drag.
Could you give an example?
 

Lecode

(─‿‿─)
Veteran
Joined
Dec 18, 2013
Messages
490
Reaction score
661
First Language
French
Primarily Uses
N/A
/ *
* @param Draggable Windows
* @desc List of draggable windows. Set Except:win1,win2... to drag all windows expect those in the list. Default: win1,win2
* @default Window_TitleCommand
*/


There are two ways:


-The first one consist of defining the list of draggable windows, each window's class separated by a comma.


Example: Window_SkillList,Window_ItemList


Means that the draggable windows are the skill window and the item window.


Window's class name can be found in their .js file.


-The second one consist of defining that all windows can be dragged, and setting exceptions for that rule.


Example: Except:Window_SkillList,Window_ItemList


All windows can be dragged except those.
 

kovak

Silverguard
Veteran
Joined
Apr 3, 2016
Messages
1,264
Reaction score
1,565
First Language
PT - EN
Primarily Uses
RMMV
So it's valid to use Window_SkillHelp to move the help window in the skill scene, did i get it right?
 

Lecode

(─‿‿─)
Veteran
Joined
Dec 18, 2013
Messages
490
Reaction score
661
First Language
French
Primarily Uses
N/A
No, it's actually Window_Help. And it's the same window used in many scenes. (skill, item, equipment...)
 

Latest Threads

Latest Profile Posts

Working on animation. Trying to see if I can apply it meaningfully to my games!
ddwk.png

working on the sprite for Devali <3
My Game Development Livestream

Of course, so, someone had covid at work today and I was exposed to them, so, I'm stuck at home for...TWO WEEKS!

Forum statistics

Threads
110,373
Messages
1,052,754
Members
143,407
Latest member
Benny91
Top