An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

Window Avoids Player - WindowAvoidsPlayer.js

Plugin desc : Prevents the message window from obscuring the player.

License : MIT License

Author : あわやまたな (Awaya_Matana)

Website : https://awaya3ji.seesaa.net/

Desc page : https://awaya3ji.seesaa.net/article/499238761.html

File name : WindowAvoidsPlayer.js

Help of plugin :

* @target MZ
* @plugindesc  Prevents the message window from obscuring the player.
* @orderAfter MessagePlus
* @orderAfter MessageFaceOption
* @author あわやまたな (Awaya_Matana)
* @url https://awaya3ji.seesaa.net/article/499238761.html
* @help Ver.3.0.0
* Functions that reproduce RPG Maker 2000.
* If enabled, the window will be moved to the bottom of the screen
* if the player is at the top of the screen and vice versa.
*
* @param tolerance
* @text Tolerance
* @desc How far from the center of the screen the player needs to be to shift the window position. If auto, the tile width.
* @type combo
* @default auto
*
* @param ignoreMiddle
* @text Ignore Window Position [Middle]
* @desc It does not avoid when the window position is "Middle".
* @type boolean
* @default false
*
* @command enableAvoidance
* @text Enable Avoidance
* @desc If enabled, the window will be moved to the bottom of the screen if the player is at the top and vice versa.
*
* @command disableAvoidance
* @text Disable Avoidance
* @desc Return it to its original state.
*

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2026 All Rights Reserved.