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

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

MZ plugins

NRP Return Menu Mask - NRP_ReturnMenuMask.js

Plugin desc : v1.02 Eliminate the seam when closing the menu.

License :
・Copyright: Retained
・Commercial Use: Allowed
・Modification: Allowed
・Redistribution: Allowed
・Details: See Download Page / In-plugin documentation

Author : Takeshi Sunagawa (http://newrpg.seesaa.net/)

Website : https://github.com/NewRPGProject/MZMV_Plugin/blob/main/NRP_ReturnMenuMask.js

Desc page : http://newrpg.seesaa.net/article/484101737.html

Download Page : https://raw.githubusercontent.com/NewRPGProject/MZMV_Plugin/main/NRP_ReturnMenuMask.js

File name : NRP_ReturnMenuMask.js

Help of plugin :

Eliminate the seam when closing the menu.
 * 
 * When using plugins such as DynamicAnimation for maps,
 * elements may not be displayed for a moment when the menu screen is closed.
 * This is due to the fact that when you switch scenes from the map screen
 * to the menu screen to the map screen, each element is recreated.
 * 
 * This tends to happen with plugins that rewrite animations or map tiles.
 * 
 * This plugin eliminates the momentary break by covering the screen
 * with a "captured image of the screen just before opening the menu"
 * when the menu is closed.
 * 
 * In addition, if you specify a scene name as a plugin parameter,
 * it can be applied when returning from a scene other than the menu.
 * 
 * ※For example, you can support external message logging plugin.
 * ※This is for somewhat advanced users,
 *   but all you need to do is open the js of the relevant plugin
 *   and find the name of the scene (usually named Scene_XXXX).
 * 
 * -------------------------------------------------------------------
 * [Terms]
 * -------------------------------------------------------------------
 * There are no restrictions.
 * Modification, redistribution freedom, commercial availability,
 * and rights indication are also optional.
 * The author is not responsible,
 * but will deal with defects to the extent possible.
 * 
 * @param MaskFrame
 * @type number
 * @default 1
 * @desc The number of frames to hide the seam when the menu is closed.
 * 
 * @param FadeFrame
 * @type number
 * @default 0
 * @desc The number of frames to fade, executed after MaskFrame.
 * 
 * @param MaskType
 * @type select
 * @option map
 * @option menu
 * @option black
 * @default map
 * @desc This screen is used for masking.
 * 
 * @param StopCharacter
 * @type boolean
 * @default false
 * @desc During masking, the character stops moving.
 * 
 * @param SceneList
 * @type string[]
 * @default ["Scene_Menu"]
 * @desc List of scenes for mask processing.

スポンサードリンク

-MZ plugins

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