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 Event Light Load - NRP_EventLightLoad.js

Plugin desc : v1.00 Lightweight event processing.

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

Desc page : https://newrpg.seesaa.net/article/499543048.html

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

File name : NRP_EventLightLoad.js

Help of plugin :

The following actions will lighten the processing of events
 * It is effective on maps where a large number of events are placed.
 * 
 * 1. Stop Draw Out of Screen
 * Reduces the load by stopping unnecessary
 * drawing processing for off-screen events.
 * 
 * 2. Cache Event Running
 * Cache the process of checking the running status of events,
 * so that it is executed only once every 1/60th of a second.
 * This can be especially effective when used in conjunction
 * with StopSelfMovementWithPlayer.js, etc.
 * 
 * -------------------------------------------------------------------
 * [Usage]
 * -------------------------------------------------------------------
 * Just apply and it will take effect.
 * 
 * Each feature has been verified to not cause problems
 * in the author's environment,
 * but can be turned on or off in case problems arise.
 * 
 * -------------------------------------------------------------------
 * [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 StopDrawOutOfScreen
 * @type boolean
 * @default true
 * @desc Stops the drawing process for off-screen events.
 * 
 * @param OutOfScreenMargin
 * @parent StopDrawOutOfScreen
 * @type number
 * @default 100
 * @desc The margin width (in pixels) that is considered off-screen.
 * 
 * @param CacheEventRunning
 * @type boolean
 * @default true
 * @desc Caches the running status of events and suppresses unnecessary reacquisition processing.

スポンサードリンク

-MZ plugins

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