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

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

MZ plugins

Destination Sprite Custom - DestinationSpriteCustom.js

Plugin desc : * @author nz_prism

License : MIT License

Author : nz_prism

Website : https://github.com/nz-prism/RPG-Maker-MZ/blob/master/DestinationSpriteCustom/js/plugins/DestinationSpriteCustom.js

Desc page : https://github.com/nz-prism/RPG-Maker-MZ/blob/master/DestinationSpriteCustom/js/plugins/DestinationSpriteCustom.js

Download Page : https://raw.githubusercontent.com/nz-prism/RPG-Maker-MZ/master/DestinationSpriteCustom/js/plugins/DestinationSpriteCustom.js

File name : DestinationSpriteCustom.js

Help of plugin :

* @target MZ
 * @plugindesc 
 * @author nz_prism
 * @url https://github.com/nz-prism/RPG-Maker-MZ/blob/master/DestinationSpriteCustom/js/plugins/DestinationSpriteCustom.js
 *
 * @help DestinationSpriteCustom.js
 * ver. 1.0.0
 * 
 * [History]
 * 05/14/2022 1.0.0 Released
 * 
 * This plugin provides a functionality to customize the effect when a player
 * clicks on the map.
 * If the plugin parameter ”Show Destination Effect” is set false, no effect
 * will be shown.
 * If you specify an image for the plugin parameter ”Destination Image Name”
 * from system folder, it will be shown when the map is clicked.
 * If no image is specified, the figure specified by the plugin parameter
 * ”Destination Figure” will be shown with color specified by the plugin
 * parameter ”Figure Color”.
 * You can specify the blend mode for the plugin parameter ”Blend Mode” like
 * picture events.
 * The image opacity which increases every frame can be specified by the
 * plugin parameter ”IncreasingOpacity per Frame”.
 * The base scale for the image can be specified with the plugin parameter
 * ”Base Scale”. By default, the scale increases every frame just like MZ
 * default but if the plugin parameter ”Fix Scale” is true, the scale will be
 * fixed.
 * 
 * 
 * This plugin is released under MIT license.
 * https://opensource.org/licenses/mit-license.php
 * 
 * 
 * @param showDestinationSprite
 * @text Show Destination Effect
 * @desc If false, the destination effect will not be shown.
 * @default true
 * @type boolean
 * 
 * @param destinationSpriteSetting
 * @text Destination Effect Settings
 * @desc The settings for the destination effect.
 * 
 * @param destinationSpriteImage
 * @text Destination Image
 * @desc The settings for the destination image.
 * @parent destinationSpriteSetting
 * 
 * @param imageName
 * @text Destination Image Name
 * @desc The destination image file. If no image is set, alternative figure will be shown.
 * @parent destinationSpriteImage
 * @type file
 * @dir img/system/
 * 
 * @param bitmapFigure
 * @text Destination Figure
 * @desc Specify a figure shown when no image is set.
 * @parent destinationSpriteImage
 * @default square
 * @type select
 * @option Square
 * @value square
 * @option Circle
 * @value circle
 * 
 * @param bitmapColor
 * @text Figure Color
 * @desc Specify a figure color shown when no image is set.
 * @parent bitmapFigure
 * @default {”red”:”255”,”green”:”255”,”blue”:”255”}
 * @type struct<rgb>
 * 
 * @param blendMode
 * @text Blend Mode
 * @desc The blend mode for the destination image.
 * @parent destinationSpriteSetting
 * @default 1
 * @type select
 * @option Normal
 * @value 0
 * @option Additive
 * @value 1
 * @option Multiply
 * @value 2
 * @option Screen
 * @value 3
 * 
 * @param opacityPerFrame
 * @text Increasing Opacity per Frame
 * @desc The increasing image opacity per frame.
 * @parent destinationSpriteSetting
 * @default 6
 * @type number
 * @min 1
 * @max 14
 * 
 * @param baseScale
 * @text Base Scale
 * @desc The base scale for the image.
 * @parent destinationSpriteSetting
 * @default 1
 * @type number
 * @min 0
 * @decimals 2
 * 
 * @param fixScale
 * @text Fix Scale
 * @desc If true, the scale will be fixed.
 * @parent destinationSpriteSetting
 * @default false
 * @type boolean
 *

スポンサードリンク

-MZ plugins

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