Drag and Move Windows

Discussion in 'JS Plugin Releases (RMMV)' started by Lecode, Jun 23, 2016.

    Tags:
  1. Lecode

    Lecode (─‿‿─) Veteran

    Messages:
    490
    Likes Received:
    646
    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.
     
    #1
    Archeia, Mistral, Harken_W and 3 others like this.
  2. Wilkituska

    Wilkituska Advanced Chicken Member

    Messages:
    18
    Likes Received:
    5
    Location:
    Spain, Europe
    First Language:
    Spanish
    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
     
    #2
    Lecode likes this.
  3. kovak

    kovak Silverguard Veteran

    Messages:
    1,248
    Likes Received:
    1,552
    Location:
    I'm from the Hu3
    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?
     
    #3
  4. Lecode

    Lecode (─‿‿─) Veteran

    Messages:
    490
    Likes Received:
    646
    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.
     
    #4
  5. kovak

    kovak Silverguard Veteran

    Messages:
    1,248
    Likes Received:
    1,552
    Location:
    I'm from the Hu3
    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?
     
    #5
  6. Lecode

    Lecode (─‿‿─) Veteran

    Messages:
    490
    Likes Received:
    646
    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...)
     
    #6

Share This Page