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 Dynamic Appear - NRP_DynamicAppear.js

Plugin desc : v1.01 Implement an appearance direction at the start of the battle.

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

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

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

File name : NRP_DynamicAppear.js

Help of plugin :

By linking with the DynamicAnimation&Motion plugins,
 * the appearance of the battlers will be implemented
 * at the start of the battle.
 * 
 * Inevitably, the following plugins are required.
 * - NRP_DynamicAnimationMZ.js (or NRP_DynamicAnimation.js)
 * - NRP_DynamicMotionMZ.js (or NRP_DynamicMotion.js)
 * 
 * -------------------------------------------------------------------
 * [Usage]
 * -------------------------------------------------------------------
 * Follow the instructions in the DynamicAnimation&Motion plugins
 * to create skills for staging.
 * (See: [Sample of DynamicMotion])
 * ※All that is required is the definition of the notes field,
 *   so other settings are not required.
 * 
 * All that is left is to set the skill ID
 * in the actor (or class) and enemy notes as follows.
 * 
 * If no individual specification is given,
 * the default values of the plugin parameters are used.
 * 
 * -------------------------------------------------------------------
 * [Note of Actors, Enemies, and Classes]
 * -------------------------------------------------------------------
 * <DynamicAppear: x>
 * In linkage with the DynamicAnimation&Motion plugins,
 * the skill appears with the direction specified
 * for the x-numbered skill.
 * 
 * In addition, when set in the notes of a profession,
 * it takes precedence over the actor's settings.
 * 
 * -------------------------------------------------------------------
 * [Sample of DynamicMotion]
 * -------------------------------------------------------------------
 * // Time difference at the start of the battle
 * <D-Motion>
 * condition = BattleManager._phase == "start"
 * wait = a.index() * 3 // Time difference
 * </D-Motion>
 *
 * // Appears from off-screen (sideways)
 * <D-Motion>
 * frame = 5 // Movement time
 * sx = a._homeX + 500 * mirroring // Start X (off-screen)
 * sy = a._homeY // Start Y
 * ex = a._homeX // End X
 * ey = a._homeY // End Y
 * </D-Motion>
 * -------------------------------------------------------------------
 * 
 * You can refer to the battler that appears in "a".
 * "a._homeX" and "a._homeY" are the placement points.
 * Implement it so that it will eventually move there.
 * 
 * -------------------------------------------------------------------
 * [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 ActorDynamicId
 * @type skill
 * @desc Actor's battle start direction (default value).
 * Specify the skill that defines the direction.
 * 
 * @param EnemyDynamicId
 * @type skill
 * @desc Enemy's battle start direction (default value).
 * Specify the skill that defines the direction.

スポンサードリンク

-MZ plugins

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