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 Quick Movement Route - NRP_QuickMovementRoute.js

Plugin desc : v1.01 Immediately execute commands for Movement Route.

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_QuickMovementRoute.js

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

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

File name : NRP_QuickMovementRoute.js

Help of plugin :

When "Set Movement Route" is called in the event command,
 * each command is designed to be executed every 1/60th of a second.
 * 
 * The problem caused by this specification is when
 * you want the action to be performed by changing the character image.
 * 
 * For example, let's say you want Pricia,
 * the default heroine of MZ, to perform a crouching action.
 * 
 * Priscia's image is the second one from the top left of "Actor1.png".
 * In contrast, her crouched image is the first left-facing image
 * from the top left of "Damage1.png".
 * 
 * If Priscia is facing down, the procedure to change it
 * by "Set Movement Route" is as follows.
 * 
 * 1. Change image: Specify the top left of Damage1.png.
 * 2. Turn to the left.
 * 
 * However, due to specifications,
 * there is a 1/60th of a second gap between the two actions.
 * Immediately after changing the image, it is still facing downward,
 * so "Damage1.png" will show the downward facing image (=Reid).
 * Even though the image will change
 * to Priscia momentarily right after,
 * it is still enough time for the player to feel uncomfortable.
 * 
 * That's why this plug-in eliminates the gaps between commands
 * when "Set Movement Route" is used.
 * In addition to changing the image and direction,
 * it also has effects on transparency,
 * turning switches on and off, etc.
 * 
 * -------------------------------------------------------------------
 * [Usage]
 * -------------------------------------------------------------------
 * Just apply it.
 * 
 * Note that, by default, it is not applied to routes
 * when the move type is custom.
 * ※This can be changed in the plugin parameters.
 * 
 * -------------------------------------------------------------------
 * [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.
 * 
 * @-----------------------------------------------------
 * @ [Plugin Parameters]
 * @-----------------------------------------------------
 * 
 * @param MaxImmediate
 * @type number
 * @default 5
 * @desc The maximum number of simultaneous immediate operations.
 * 
 * @param ApplyMoveTypeCustom
 * @type boolean
 * @default false
 * @desc This also applies when the autonomous movement type is custom.
 * But only if the movement frequency is maximum.
 * 
 * @param ChangeImageResetPattern
 * @type boolean
 * @default false
 * @desc To initialize the pattern when the image is changed.
 * Prevent flickering immediately after moving.

スポンサードリンク

-MZ plugins

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