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

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

MZ plugins

Minimap - Minimap.js

Plugin desc : Draws a mini-map on the map scene.

License : MIT License

Author : nz_prism

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

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

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

File name : Minimap.js

Help of plugin :

* @target MZ
 * @plugindesc Draws a mini-map on the map scene.
 * @author nz_prism
 * @url https://github.com/nz-prism/RPG-Maker-MZ/blob/master/Minimap/js/plugins/Minimap.js
 *
 * @help Minimap.js
 * ver. 1.0.2
 * 
 * [History]
 * 03/26/2022 1.0.0 Released
 * 04/01/2022 1.0.1 Fixed conflicts against other plugins
 * 04/03/2022 1.0.2 Fixed an error at the end of a battle test
 * 
 * This plugin shows a mini-map on the map scene. When a player moves, the
 * adjacent area will be drawn on the mini-map.
 * 
 * A mini-map is basically placed on the upper left of the screen but if a
 * player is close to it, it moves to the lower right.
 * 
 * When an event is running, the mini-map will be hidden.
 * 
 * There are several ways to draw an entire mini-map instantly. If a plugin
 * parameter ”Instant Minimap for No Encounter Map” is true and a player
 * transfers to a map where no encounter is set, an entire mini-map will be
 * drawn at once. If you set it false, you can set maps with the same behavior
 * by inputting <instantMinimap> in the Note of the map. Also, if a plugin
 * command ”Draw Entire Minimap” is invoked, an entire mini-map will be drawn.
 * 
 * A mini-map will be reset by transferring to another map. If you save the
 * mini-map on a given map, input <saveMinimap> in the Note of the map. By this
 * setting, a mini-map will be restored when the player visits the map again.
 * A save data stores the mini-map data. Although mini-map data can be saved
 * unlimitedly, to minimize the number of maps with <saveMinimap> is
 * recommended to save save files’ volume.
 * 
 * Basically tiles which no characers can pass are drawn, events can also be
 * drawn by inputting <minimap:n> in the Note of the event with the ”n”th
 * color. However, since the event pixels don’t reflect the current position of
 * the events, inputting <minimap:n> for events which can move is not
 * recommended.
 * 
 *
 *  ■ Formats (meta-tag)
 *   ● Map
 *     ・<instantMinimap>
 *     ・<saveMinimap>
 * 
 *   ● Event
 *     ・<minimap:n>
 *      replace n with a color index.
 * 
 * 
 * This plugin is released under MIT license.
 * https://opensource.org/licenses/mit-license.php
 * 
 *
 * @param pixelsPerTile
 * @text Pixels per Tile
 * @desc The pixels which are drawn for a tile.
 * @type number
 * @default 5
 * 
 * @param minimap
 * @text Minimap
 * @desc The settings for minimap.
 * 
 * @param minimapOffsetX
 * @text Minimap Offset X
 * @desc The horizontal offset value for a minimap.
 * @parent minimap
 * @type number
 * @default 8
 * 
 * @param minimapOffsetY
 * @text Minimap Offset Y
 * @desc The vertical offset value for a minimap.
 * @parent minimap
 * @type number
 * @default 8
 * 
 * @param minimapColorIndex
 * @text Minimap Color Index
 * @desc The color index with which a minimap is drawn.
 * @parent minimap
 * @type number
 * @default 9
 * 
 * @param minimapOpacity
 * @text Minimap Opacity
 * @desc The opacity for a minimap.
 * @parent minimap
 * @type number
 * @default 192
 * 
 * @param playerSymbol
 * @text Player Symbol
 * @desc The settings for a player symbol.
 * 
 * @param playerSymbolColorIndex
 * @text Player Symbol Color Index
 * @desc The color index with which a player symol is drawn.
 * @parent playerSymbol
 * @type number
 * @default 18
 * 
 * @param playerSymbolOpacity
 * @text Player Symbol Opacity
 * @desc The opacity for a player symbol.
 * @parent playerSymbol
 * @type number
 * @default 255
 * 
 * @param instantMinimapForCity
 * @text Instant Minimap for No Encounter Map
 * @desc If true, an entire minimap is drawn instantly on a map which has no encounter.
 * @type boolean
 * @default true
 * 
 * 
 * @command seeEntireMap
 * @text Draw Entire Minimap
 * @desc Draws an entire minimap.
 *

スポンサードリンク

-MZ plugins

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