Welcome to PGMV! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
Message Window Popup - MessageWindowPopup.js
Plugin desc : Balloon Window Plugin
License : MIT License
Author : Triacontane
Website : https://triacontane.blogspot.com/
Desc page : https://triacontane.blogspot.com/
Download Page : https://raw.githubusercontent.com/munokura/triacontane-MV-plugins/refs/heads/main/MessageWindowPopup.js
File name : MessageWindowPopup.js
Help of plugin :
@url https://triacontane.blogspot.com/
@plugindesc Balloon Window Plugin
@author Triacontane
@license MIT License
@help
English Help Translator: munokura
This is an unofficial English translation of the plugin help,
created to support global RPG Maker users.
Feedback is welcome to improve translation quality
(see: https://github.com/munokura/triacontane-MV-plugins ).
Original plugin by Triacontane.
Please check the latest official version at:
https://triacontane.blogspot.com
-----
Changes the message window to display as a speech bubble above the specified
character's head.
When using this plugin in conjunction with YEP_MessageCore.js's name pop
feature,
place this plugin below YEP_MessageCore.js in the Plugin Manager.
When using this plugin in conjunction with FTKR_ExMessageWindow2.js's multiple
message window display feature,
place this plugin below FTKR_ExMessageWindow2.js in the Plugin Manager.
Plugin Parameter [Automatic Configuration] Details
When used in conjunction with FTKR_ExMessageWindow2.js,
the message window used for automatic configuration is window ID 0.
When set to OFF, window ID 0 will revert to its normal display mode.
Plugin Command Details
Execute from the "Plugin Command" event command.
(Separate parameters with a space.)
MWP_VALID [Character ID] [Window Position]
Displays a message window above the specified character ID.
Player: -1
This event: 0
Event with specified ID: 1 ~
Followers: -2, -3, -4
Window Position
0: Automatic (including if not specified)
1: Display above the character
2: Display below the character
Example:
MWP_VALID 0 1
MWP_VALID [Event Name] [Window Position]
Displays a message window above an event that matches the specified name.
Example:
MWP_VALID test_event 1
!When using multiple message windows!
MWP_VALID [Character ID] [Window ID] [Window Position] or
Enable Speech Bubble Window [Character ID] [Window ID] [Window Position]
Displays the specified message window ID above the specified character ID.
Player: -1 This event: 0 Event with specified ID: 1 ~
Followers: -2, -3, -4
If no window ID is specified (no input), window ID 0 will be used.
Example:
MWP_VALID 0 1
MWP_INVALID
Returns the window to normal display mode.
Example:
MWP_INVALID
!When using multiple message windows!
MWP_INVALID [Window ID]
Returns the display mode of the specified message window ID to normal.
No input will return the display mode of all window IDs to normal.
Example:
MWP_INVALID 1
MWP_FREE 100 200
Displays a speech bubble window at the specified position.
MWP_SETTING [Settings]
Sets the balloon window settings. Enter the following in the settings field.
POS_UPPER
Fixes the window position above the character.
POS_UPPER 1 or POS_UP 1
Fixes the window position above the character for event ID [1] only.
POS_UPPER aaa
Fixes the window position above the character for event name [aaa] only.
POS_LOWER
Fixes the window position below the character.
POS_LOWER -1
Fixes the window position below the character for player only.
POS_LOWER aaa
Fixes the window position below the character for event name [aaa] only.
POS_AUTO
Normally, it displays above the character, and only displays below if the
window is cut off above.
SKIN [Filename of skin to place under /img/system/]
Sets the window skin exclusively for use with the balloon window.
SUB_POS_PLAYER
Displays the option and value input window above the player's head.
Windows may overlap depending on their position, so enable the window
transparency parameter if necessary.
SUB_POS_INNER
Includes the option and value input window in the message window.
When using this setting, be sure to enable the window transparency parameter.
SUB_POS_NORMAL
Displays the option and value input window below the balloon window.
This setting will be used if no other settings are changed.
SUB_POS_RIGHT
Displays the selection and numeric input window to the right of the balloon
window's tail.
Example:
MWP_SETTING POS_UPPER
MWP_SETTING SKIN window2
MWP_ADJUST [Setting]
Fine-tunes the position and size of the balloon window. Enter the following in
the settings field.
POS [X Coordinate] [Y Coordinate]
Adjusts the window's X and Y coordinates. These are relative to the original
coordinates.
SIZE [Width] [Height]
Adjusts the window's width and height. These are relative to the original
size.
Example:
MWP_ADJUST POS 5 -3
!When using multiple message windows!
Bubble window settings, display position, and size adjustments are common to
all window IDs.
- Usable control characters
¥sh[5] # Vibrates the window with strength [5].
MWP_SET_TAIL_IMAGE [filename]
Changes the tail image. Specify an image under img/system without an
extension.
Leaving it empty will revert to the image specified in the parameter.
Terms of Use:
You may modify and redistribute this plugin without permission from the
author, and there are no restrictions on its use (commercial, 18+, etc.).
This plugin is now yours.
@param フォントサイズ
@text Font size
@desc Default font size for balloon window
@type number
@default 22
@param 余白
@text margin
@desc Margin size of the balloon window
@type number
@default 10
@param 自動設定
@text Automatic configuration
@desc When an event is started, the target of the balloon will be automatically set to the event that started it. (ON/OFF)
@type boolean
@default true
@param フェイス倍率
@text Face Magnification
@desc Face graphic display magnification in balloon window (1-100%)
@type number
@default 75
@param ウィンドウ連携
@text Window Linkage
@desc Selection window and numeric input window
@type boolean
@default true
@param 行間
@text Line spacing
@desc Sets the space between rows in pixels.
@type number
@default 4
@param ウィンドウ透過
@text Window Transparency
@desc When windows overlap, they are displayed transparently. (ON/OFF)
@type boolean
@default false
@param フォントサイズ増減幅
@text Font size increase/decrease
@desc The amount by which the font size increases or decreases when using the control characters "¥{" and "¥}" in the balloon window. The default is 12.
@type number
@default 12
@param フォントサイズ上限
@text Font size limit
@desc This is the upper limit of the font size when using the control characters "¥{" and "¥}" in the balloon window. The default is 96.
@type number
@default 96
@param フォントサイズ下限
@text Font Size Minimum
@desc The minimum font size when using the control characters "¥{" and "¥}" in the balloon window. The default is 24.
@type number
@default 24
@param 画面内に収める
@text Fit on screen
@desc Adjust the position of the balloon window so that it fits within the screen not only horizontally but also vertically.
@type boolean
@default false
@param 振動の速さ
@text Vibration speed
@desc The speed at which the window shakes. The control character ¥v[n] can be used.
@type number
@default 5
@param 振動時間
@text Vibration Time
@desc The time (frames) for the window to vibrate. You can use the control character ¥v[n]. If you specify 0, the window will vibrate forever.
@type number
@default 60
@param テールを使わない
@text Don't use tail
@desc Disables the pause sign tail function, so it will appear in the default position.
@type boolean
@default false
@param 最小横幅取得変数ID
@text Minimum width acquisition variable ID
@desc The value of the variable with the specified number will be the minimum width of the balloon window (in pixels).
@type variable
@default 0
@param 最小高さ取得変数ID
@text Minimum height acquisition variable ID
@desc The value of the variable with the specified number will be the minimum height of the balloon window (in pixels).
@type variable
@default 0
@param lowerLimitX
@text Lower limit X coordinate
@desc The lower X coordinate of the balloon window.
@type number
@default 0
@param upperLimitX
@text Upper X coordinate
@desc The upper limit X coordinate of the balloon window.
@type number
@default 0
@param lowerLimitY
@text Lower Y coordinate
@desc The lower Y coordinate of the balloon window.
@type number
@default 0
@param upperLimitY
@text Upper Y coordinate
@desc The upper Y coordinate of the balloon window.
@type number
@default 0
@param tailImage
@text Tail Image
@desc Specify the image to use for the tail from the system images.
@type file
@require 1
@dir img/system/
@param tailImageAdjustY
@text Tail image Y coordinate
@desc The Y coordinate offset of the image used for the tail.
@type number
@default 0
@min -2000
@max 2000
@param FixedLeftX
@text Fixed left X coordinate
@desc If specified, the left edge of the window will be fixed regardless of the width of the balloon window.
@type number
@default 0