Welcome to PGMZ! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
MPP Mini Map - MPP_MiniMap.js
Plugin desc : Display the minimap on the screen.
License : MIT License
Author : Mokusei Penguin
Website : http://woodpenguin.blog.fc2.com/
Desc page : https://woodpenguin.web.fc2.com/MV_Plugin/MiniMap.html
File name : MPP_MiniMap.js
Help of plugin :
* @target MV MZ
* @plugindesc Display the minimap on the screen.
* @author Mokusei Penguin
* @url
*
* @help [version 4.3.4]
* This plugin is for RPG Maker MV and MZ.
*
* ▼ Plugin command
* - In MV, the variable N is referred to by writing ’v[N]’ in the item for
* inputting a numerical value.
* - In MZ, in the item to enter a numerical value, select the text and
* write ’v[N]’ to refer to the variable N.
*
* 〇 MV / MZ
*
* 〇 ShowMinimap index / show
* index : number(0:Hide)
* - Display the minimap.
* - The display position and size set in the plug-in parameter
* [Display Positions] are applied.
*
* 〇 SetMinimapZoom zoom / setZoom
* zoom : magnification(-1:Whole, 0:Default / 1x at 100)
* - Only change the magnification of the minimap display.
*
* 〇 AddMarker x y m tag / addMarker
* x : X coordinate
* y : Y coordinate
* m : Marker string
* tag : tag(Arbitrary value / Not set:0)
* - Place a marker at the coordinates (x, y) of the current map.
* - Tags are used when deleting.
*
* 〇 RemoveMarker tag / removeMarker
* tag : tag
* - Deletes all markers for the specified tag.
*
* 〇 RemoveMarkerXy x y / removeMarkerXy
* x : X coordinate
* y : Y coordinate
* - Delete the marker at the coordinates (x, y) of the current map.
*
* ▼ Map notes
* 〇 <Minimap:name>
* - Specifies the file name of the minimap image for this map.
* - Put the image files in img/pictures.
*
* 〇 <MinimapZoom:n>
* - Sets the initial value for the minimap magnification for this map.
* - The variable N is referenced by writing ’v[N]’.
*
* ▼ Event notes
* 〇 <Marker:m>
* - Set markers for this event.
*
* ▼ [Comment] of the execution content of the event
* 〇 MinimapMarker m
* - Set a marker for the event when the EV page is displayed.
* - If <Marker:m> is set, this will be prioritized.
*
* ▼ Marker designation
* - Markers are specified as a combination of strings and numbers.
* TCO
* T = <Type>
* C = <Color number>
* O = <Option>
* - There are the following 8 types of <Type>.
* P : Point type (●)
* A : Arrow type / Synchronize with the orientation of the character
* I : Icon type / Icon image set by plugin parameters
* T : Triangle type (▲)
* S : Square type (■)
* R : Rhombus type (◆)
* X : Cross mark type (×)
* C0- : Circle type / Specify the radius after C and insert a hyphen(-)
* - <Color number> is the same as the text color of [Display text].
* - See img/system/Window.png for specific colors.
* - Add <Option> when you want the following functions.
* B : Blink flag
* T : Synchronize with the orientation of the character / Icon type only
* H : Displayed in front of other markers / Always displayed even outside the minimap
* M : For MPP_MiniMap_Op1.js / Display only in the mapped range
* - Multiple <Option> can be set.
* - All strings work in either case.
*
* ▼ Plugin parameters
* 〇 Map Ids / Wall Region IDs / Floor Region IDs
* - Range specification is available for these plug-in parameters.
* - You can specify a number from n to m by writing n-m.
* Example: 1-4,8,10 => 1 to 4 and 8 and 10
*
* 〇 Icon Image
* - The icon image is made up of eight horizontally arranged blocks as
* one block, and the blocks are lengthened as long as necessary.
* - The width and height of the icon is the width of the image divided by 8.
*
* ================================
* Mail : wood_penguin@yahoo.co.jp (@ is half-width)
* Blog : http://woodpenguin.blog.fc2.com/
* License : MIT license
*
* @command show
* @desc
* @arg index
* @desc
* @type number
* @min 0
* @max 999
* @default 0
*
* @command setZoom
* @desc
* @arg zoom
* @desc 100:1x
* @type number
* @min -1
* @max 10000
* @default 100
*
* @command addMarker
* @desc
* @arg x
* @desc
* @type number
* @min 0
* @max 999
* @default 0
* @arg y
* @desc
* @type number
* @min 0
* @max 999
* @default 0
* @arg marker
* @desc Type: P,A,I,C0- / Color number / Option: B,T,H,M
* Can be used in both uppercase and lowercase
* @type string
* @default P0
* @arg tag
* @desc Use this to delete a marker.
* @type number
* @min 0
* @max 9999
* @default 0
*
* @command removeMarker
* @desc
* @arg tag
* @desc
* @type number
* @min 0
* @max 9999
* @default 0
*
* @command removeMarkerXy
* @desc
* @arg x
* @desc
* @type number
* @min 0
* @max 999
* @default 0
* @arg y
* @desc
* @type number
* @min 0
* @max 999
* @default 0
*
*
* @param Map Ids
* @desc An array of map IDs to display the minimap
* (Range can be specified)
* @default 1-5
*
* @param Display Positions
* @desc
* @type struct<DisplayPositions>[]
* @default [”{¥”X¥”:¥”32¥”,¥”Y¥”:¥”32¥”,¥”Width¥”:¥”160¥”,¥”Height¥”:¥”120¥”,¥”Opacity¥”:¥”192¥”,¥”Zoom¥”:¥”150¥”,¥”Frame Image¥”:¥”¥”}”]
*
* @param Blink Duration
* @desc
* @type number
* @min 1
* @max 999
* @default 80
*
* @param Blur Level
* @desc
* @type number
* @min 0
* @max 10
* @default 4
*
* @param Wall Region IDs
* @desc An array of region IDs to display as impassable
* (Range can be specified)
* @default 63
*
* @param Floor Region IDs
* @desc An array of region IDs to display as passable
* (Range can be specified)
* @default
*
* @param Icon Image
* @desc
* @type file
* @require 1
* @dir img/pictures
* @default
*
* @param Marker Size
* @desc Point type and arrow type sizes
* @type number
* @min 1
* @max 999
* @default 4
*
* @param Player Marker
* @desc Type: P,A,I,C0- / Color number / Option: B,T,H,M
* Can be used in both uppercase and lowercase
* @default A3h
*
* @param Vehicle Markers
* @desc Vehicle markers when not boarding
* @type struct<Vehicle>
* @default {”boat”:”P3”,”ship”:”P3”,”airship”:”P3”}
*
*
* @noteParam Minimap
* @noteRequire 1
* @noteDir img/pictures/
* @noteType file
* @noteData maps
*