じ☆ve冰风 发表于 2026-7-24 21:54:03

Fog of War Map

https://forums.rpgmakerweb.com/attachments/1778384488074-png.365963/


OLD MINIMAP









=====================================================================================================================


After months of work and bug fixes, I’m pleased to present the new version of Fog of War Minimap for RPG Maker MZ.
(Screenshot and gif are in original position, but you can move Minimap in 4 positions, don't worry)
Fully customizable via RPG Maker's Event system. We've made it compatible with the Quest system.
Spoiler
























3 Shape Type
Spoiler










What about Border?
Spoiler






Do you wanna see the difference?
• Simple:
Spoiler






• Double

Spoiler


• Glow (I love this one)











── NEW FEATURES v9.0 ────────────────────────────────────────────────────────

FULLSCREEN MAP      Hold M (or configurable key) to expand the minimap

                     to fullscreen with a smooth animation.

                     Press again to return to normal size.



IMAGE ICONS         Use custom PNG images for icons:

                     <img:fileName>→loads img/pictures/minimap/fileName.png

                     Automatic sizing, integrated cache.



SOFT FOG          The fog dissolves softly at the edges instead of

                     pixel‑hard clipping. Activable from parameters.



RADIUS OVERLAY    Tag <radius:5:#FF0000> draws a circle of radius 5

                     tiles around the event. Perfect for bosses, dangers,

                     safe zones, guard ranges.



VARIABLE TIMER      Tag <timer:VAR_ID> shows a countdown near the icon

                     based on the value of an MZ variable.



PROXIMITY FLASH   Tag <flash> makes the icon blink when the player

                     enters the proximity radius.



MINIMAP PAN         Plugin Command panTo X Y — the minimap slides

                     animatedly toward that coordinate for Duration frames,

                     then returns to the player automatically.



TOOLTIP HOVER       On desktop, move the mouse near an icon to display

                     the event's name/label. Activable from parameters.



QUEST BURST         When an objective is completed, a burst of particles

                     explodes on the minimap at that point.



THEME PRESETS       5 ready‑to‑use visual themes:

                     dark / fantasy / scifi / minimal / gold

                     They override colors and border with a single parameter.

• None = Default




• Dark theme



• Fantasy theme




• scifi theme




• Minimal theme



• Gold theme (I love this one)



── MAINTAINED FROM v8.0 ────────────────────────────────────────────────────

Multi‑objective quest registry with per‑objective color

Quest HUD panel with live distance

Breadcrumb trail

Proximity pulse (<alert>)

Zone overlay with label

Free icon shapes for each type

Tags <hidden> <once> <alert> <label:text> <custom:#col:shape>

Complete Public API

Persistent fog of war

Compass, legend, zoom, grid, ping, waypoint



============================================================================

EVENT TAGS(event's Note field)

============================================================================



BASE TYPES:

<npc>               <npc:Character Name>

<enemy>             <enemy:elite>

<treasure>          <treasure:locked>

<boss>            <boss:final>

<item>            <switch>

<quest>             <shop>

<save>            <portal>



IMAGE ICON (file in img/pictures/minimap/):

<img:boss_dragon>         loads boss_dragon.png, size 16x16

<img:npc_elder:24>      loads npc_elder.png, size 24x24



FULLY CUSTOM ICON:

<custom:#FF8800:star>

Shapes: circle square triangle diamond star hexagon pentagon arrow cross flag



BEHAVIOR:

<hidden>            Invisible until player gets close

<once>            Disappears on first approach

<alert>             Proximity pulse on the minimap border

<flash>             Blinks when the player is close

<label:Text>      Label below the icon (at max zoom)

<radius:5:#FF4444>Circle of N tiles radius around the event

<timer:3>         Countdown based on MZ Variable n.3



COMBINED EXAMPLES:

<boss:final>

<alert>

<radius:8:#FF0000>



<npc:Merchant>

<flash>



<img:chest_gold>

<label:Legendary Chest>

<once>



<custom:#00FFAA:hexagon>

<radius:3:#00FFAA>

<timer:5>



============================================================================

ZONE OVERLAY(MAP note)

============================================================================

<zone:1:#FF0000
data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7anger Zone>

<zone:2:#00AAFF:Ice Cavern>

Format: <zone:REGION_ID:#Color:Label>



============================================================================

PLUGIN COMMANDS

============================================================================



show / hide / toggle

showGrid / hideGrid / toggleGrid

showCompass / hideCompass / toggleCompass

showLegend / hideLegend / toggleLegend

showQuestHUD / hideQuestHUD / toggleQuestHUD

zoomIn / zoomOut / zoomReset

revealMap / resetExplored / resetSettings

setWaypoint (X, Y, Label, Color)

clearWaypoint

pingLocation (X, Y, Color, Duration)

panTo (X, Y, Duration) — animated pan toward coordinate



startQuest (questId, questTitle)

addObjective (questId, objId, X, Y, Text, Color)

completeObjective (questId, objId)

completeQuest (questId)

failQuest (questId)



============================================================================

FULLSCREEN MAP

============================================================================

Hold the Toggle key for 40 frames → fullscreen.

Or use Plugin Command: showFullscreen / hideFullscreen

In fullscreen, fog of war and icons are fully visible.



============================================================================

THEME PRESETS

============================================================================

"Theme" parameter: dark | fantasy | scifi | minimal | gold

Overrides individual colors. Set to "none" to use manual colors.



dark    — almost black background, dark green, simple white border

fantasy — dark brown background, forest green, golden border

scifi   — blue‑gray background, cyan, glowing cyan border

minimal — transparent gray background, white, simple border

gold    — brown background, golden yellow, double gold border



============================================================================

PUBLIC API

============================================================================

const API = PluginManager.MiniMapAPI;



API.ping(x, y, color, duration)

API.setWaypoint(x, y, label, color)

API.clearWaypoint()

API.panTo(x, y, duration)

API.addCustomIcon(id, x, y, color, shape, label, duration)

API.removeCustomIcon(id)

API.isExplored(mapId, x, y)

API.startQuest(id, title)

API.addObjective(questId, objId, x, y, text, color)

API.completeObjective(questId, objId)

API.completeQuest(id)

API.failQuest(id)



============================================================================

CREDITS

============================================================================

Author: Rpx

Version : 9.0

Year    : 2026

============================================================================
GIF IMAGES ARE HERE (I can't upload)
https://i.ibb.co/whvHt5GH/g4.gif
https://i.ibb.co/F9rhTJr/g3.gif
https://i.ibb.co/N2PdScR1/g1.gif
https://i.ibb.co/SwXK4hzc/g2.gif

You can download & try HERE
Free Minimap isHERE


本贴来自国际rpgmaker官方论坛作者:Rpx处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/fog-of-war-map.183552/
页: [1]
查看完整版本: Fog of War Map