Graphical Design Mode

GraphicalDesignMode - Version 2.10.3 (2019/11/02)

Creator name: Triacontane

☆☆☆Getting started.☆☆☆
In design mode, you can set or arrange objects properties and design the screen ingame during playtest.
--------------------Controls----------------------------------------------------------------------
Drag and drop: Grab windows and images and rearrange them where you want.
Ctrl + mouse: The window or image snaps to the grid. (Option key on Mac)
Shift + mouse: Windows and images will not snap to objects or screen edge.
If you type "changePos(x, y);" (x: X coordinate, y: Y coordinate) in the console, you can change window position.
Ctrl + S: Save all changes.
Ctrl + C: Copies the coordinates into a clipboard.
Ctrl + Z: Undo the last operation.
Ctrl + Shift + Enter: Resets all screen layouts and reloads.
Right-click: Displays / hides the window frame (or the entire window).
Number key: When pressed within the window, the corresponding properties can be changed as follows.
1. Window width (※1)
2. Window height (directly specified) (※1)
3. Window margin (※2)
4. Window font size (※2)
5. Height per line of the window (※2)
6. Window background transparency (※2)
7. Number of lines in the window (※2)
8. Window background image filename
9. Window font name (※3)

※1 JS calculation formula can be applied. The calculation formula is evaluated once on the spot you enter.
※2 JS calculation formula can be applied. The formula is saved and re-evaluated when displayed on the screen.
If you want to know, you can set the value like before.
※3 Fonts must be loaded. Please use "Font Load Plugin".
Download: raw.githubusercontent.com/triacontane/RPGMakerMV/master/FontLoad.js
※4 For Mac, use the option key instead of Ctrl key. (The command key does not respond)

Example of hiding a window by right-click on a window
DUQm5Sq.gif


Don't forget to save changes with Ctrl+S

After you're done, set “Design Mode” to “OFF” for normal testplay.
Design Mode "ON" for deployment as finalization.

The contents displayed in the window can be changed with the following control characters.
Code:
\\AL[left]   # Left align (If blank, left)
\\AL[0]      # Same as above
\\AL[center] # Center
\\AL[1]      # Same as above
\\AL[right]  # Right align
\\AL[2]      # Same as above

Plugin Commands
Code:
unlock_message
Temporarily cancel the message window position change.
-
Code:
lock_message
Re-enable message window repositioning.
-
Code:
unlock_choice
Temporarily cancel the position change of the choice window.
-
Code:
lock_choice
Re-enable message window repositioning.
___

Notes
Contents are saved in “data/ContainerProperties.json”.
Editing with a JSON editor is also possible.

You can also define different window layouts for mobile devices.
Placement information for mobile is saved in “data/ContainerPropertiesMobile.json”.

Enable Fake mobile option to run on mobile device on PC
Can be reproduced. When reproducing mobile execution, the format of audio and video files-
May change the audio file or not play.

You cannot change the position of a window that's changed with this plugin.
Therefore, this plugin can be used for window positions change during the game.
If the position is fixed, it may not displayed correctly.

If the display ends up looking strange,
Use Ctrl+Shift+Enter to initialize all windows in the screen.

Credit and Thanks: Triacontane

Terms of Use- Free for commercial and non-commercial use.

License - MIT License: http://opensource.org/licenses/mit-license.php

You can download js file from the thread attachment or Dropbox link: https://www.dropbox.com/s/9n9vmb9nvg2k7gp/GraphicalDesignMode.js?dl=1
I think this is the best plugin ever made to adjust windows / UI.
And in my tries, it works better than the Srd Super Tolls Engine.
I had translated it to English, but with google translate. Also, I want(someday) to make a great tutorial for this.
It's incredible.
Thanks to bring this, with some explanation to the community.
=)
Oh god it took me 3 hours to finally find this plugin to as SRDUDE Super tools replacement
is it possible to change dialogue window box size and put it in middle with this plugin? If yes how to do it? this plugin is conflicting with Yanfly Message Core, I cannot change the x position of the dialogue box with this plugin and yanfly message running together

Update : Never mind,it is fixed. Thanks!
Where do you put your control characters (\\AL[0], etc)? Is this somewhere in the ContainerProperties.js or are these just for text boxes in the editor?
You can insert control characters by editing GraphicalDesignMode.js

Starting on line 274 - line 379

Put control characters for lines inside brackets of windows
If you intend to make another window with a message on them

Example-

Code:
            windows : [

                {lines: ['hello\\AL[center]'], switchId: 0},

            ],

If anyone want to add pictures for their windows-
put the image inside img/pictures/ folder and under under lines of picture

Code:
            pictures: [

                {file: '', switchId: 0},

            ],

Specify the image file inside ' '

-

There have been few plugin updates since I last posted about this.

I'll look into sharing the recent version and translate extra instructions. Might take a week.
i cant save the changes, it just restart :c
Incredible work, my most sincere congratulations!
Gotta asyou though, is there any way to change a window's number of collumns?
If you mean the English translation, I think I did okay. I'm not plugin creator.

You could adjust Line Height of certain windows with MPP_WindowPropertyCustom.
https://forums.rpgmakerweb.com/index.php?threads/mpp_windowpropertycustom.91173/

I'm not sure if it works with latest MV build or check for plugin compatibility.

I'll just take my time with translation update of recent version, it's not a top priority atm.
@ovate Hello. I have a problem. I can't save changes. I click Ctrl + s and after restarting a game everything is lost.
@ovate Okay, nevermind, I turned on automatic save. It is second option in plugin parameters.
how does this even work???
how does this even work???
That's not a particularly useful question for others to try to give you any help.

There are instructions in the first post (and presumably in the plugin itself). Which part don't you understand?
When I press the number buttons while hovered over different windows nothing seems to happen. I've tried the regular number buttons and the number keypad buttons and the only things I can do are toggle visibility and move the window around. Do the height and width options need to be written in the console? Do you have to press the num key while pressing the buttons? I feel dumb asking, but the instructions are too vague for me to understand what I'm doing wrong.
Hi, when i try to open the project it closes itself immediately. Does this plugin work with 1.6.2 rmmv?
Hi, when i try to open the project it closes itself immediately. Does this plugin work with 1.6.2 rmmv?
For me it worked fine back in 1.6.2, and it still works fine now in 1.6.3.
Have you tried disabling other plugins?
For me it worked fine back in 1.6.2, and it still works fine now in 1.6.3.
Have you tried disabling other plugins?
Hi, thank you for answering!
Yes, I tried disabling all plugins, and I also attempted it in another project. When the design mode is on, upon launching, it opens a smaller white window and then closes both
How do you input ※1
How do you input ※1
Just press 1 on your keyboard, while mousing over a window.
You might need to temporarily disable any plugins that change how keyboard input works, such as QInput of KeyboardConfig.
Also how would I go about removing the second column in the gear list window on the equip screen?

Original thread: https://forums.rpgmakerweb.com/threads/graphical-design-mode.115531/