设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
扫描二维码关注官方公众号
返回列表
+ 发新帖
查看: 130|回复: 0

[转载发布] Iavra Minimap

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    开心
    2026-7-12 04:10
  • 签到天数: 209 天

    连续签到: 2 天

    [LV.7]常住居民III

    9072

    主题

    864

    回帖

    6万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    VIP
    7
    卡币
    58885
    OK点
    16
    推广点
    0
    同能卷
    50
    积分
    68851

    灌水之王

    发表于 2026-7-27 10:35:52 | 显示全部楼层 |阅读模式
    Description


            Creates a minimap based on either supplied pictures or generated from terrain tags.


    Author


            Iavra


    Parameters


    @param Switch
    @desc Optional switch, that needs to be set to ON for the map to be active.
    @default

    @param Notetag
    @desc Notetag used to mark maps, events and actors that should show up on the minimap.
    @default minimap

    @param Frame
    @desc X, Y, width and height of the minimap. Negative coordinates start at the right/bottom of the screen.
    @default 10, 10, 200, 200

    @param Tile Size
    @desc Size of a single tile on generated maps. Odd numbers might lead to graphical glitches. Minimum: 2
    @default 10

    @param Terrain Colors
    @desc Comma-separated list of <terrainTag>:<color> pairs. Colors are specified in hex format.
    @default 0:#FFF

    @param Background Color
    @desc Color to be used for the minimap background, in hex format.
    @default #FFF

    @param Background Opacity
    @desc Opacity to be used for the minimap background. 0 is fully transparent, 1 is solid.
    @default 0.3




    Video










    How to Use


            To enable the minimap for a specific map, put this tag inside the map's notebox (configurable):


    <minimap>


            The plugin will then automatically create a minimap from terrain tags, using the colors provided via the plugin parameter "Terrain Colors". If you want to use a custom map, instead, modify the tag like this:


    <minimap img:myImage>


            The given image will be loaded and automatically scaled to fit the tile size specified in "Tile Size", so please make sure it has the right dimensions or you might experience graphical glitches.



            To display the player icon on the map, put the following tag inside the notebox of an actor:


    <minimap 1>


            This will cause the icon #1 to be displayed on the minimap, as long as that actor is the current leading player. Different icons can be specified for each actor, so the minimap always shows the correct one.


            To display an event on the map, put the following tag inside a comment:


    <minimap 2>


            As long as that page is active, the icon #2 will be shown at that event's position. This can be used to create marker events displaying PoIs or the current quest target.

            The following script calls can be used to modify the map. Please note, that parameter changes are all temporary, unless another plugin stores them in a persistent manner:


    IAVRA.MINIMAP.refresh();         
    Refreshes the map image loaded or created for the current map.

    IAVRA.MINIMAP.move(x, y);        
    Repositions the map. Negative values are counted from the right/bottom edge.

    IAVRA.MINIMAP.resize(w, h);      
    Resizes the map. If needed, it's repositioned to fit against the screen edge.

    IAVRA.MINIMAP.x = value;         
    Repositions the map. Negative values are counted from the right edge.

    IAVRA.MINIMAP.y = value;         
    Repositions the map. Negative values are counted from the bottom edge.

    IAVRA.MINIMAP.width = value;     
    Resizes the map, updating its position if needed.

    IAVRA.MINIMAP.height = value;   
    Resized the map, updating its position if needed.

    IAVRA.MINIMAP.center = value;   
    Treates the given character as the new center of the minimap.

    IAVRA.MINIMAP.zoom = value;      
    Changes the zoom level (doesn't effect icons, only the map itself).

    IAVRA.MINIMAP.opacity = value;   
    Changes the overall opacity of the map. A value of 0 or lower will disable it.




    Terms of Use


            Free to use for both commercial and non-commercial games. Please give credit.


    Download


            Core: http://pastebin.com/z4Wy7MX4


            Menu: http://pastebin.com/d0kGBcUb


    Latest Changes


            1.00 - Optimized the way events are handled, so the plugin will only create sprites for events, that are actually displayed on the map.


            1.01 - Updated the minimap for 1.3. The menu extension has been cut and will be added later as its own plugin.


            1.04 - Multiple bug fixes regarding map pictures and icon indizes.


    本贴来自国际rpgmaker官方论坛作者:Iavra处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/iavra-minimap.51326/
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

    文明发言,和谐互动
    文明发言,和谐互动
    高级模式
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    简体中文
    繁體中文
    English(英语)
    日本語(日语)
    Deutsch(德语)
    Русский язык(俄语)
    بالعربية(阿拉伯语)
    Türkçe(土耳其语)
    Português(葡萄牙语)
    ภาษาไทย(泰国语)
    한어(朝鲜语/韩语)
    Français(法语)
    关闭

    幸运抽奖

    社区每日抽奖来袭,快来试试你是欧皇还是非酋~

    立即查看

    聊天机器人
    Loading...

    QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

    GMT+8, 2026-8-22 06:58 , Processed in 0.140188 second(s), 54 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回复 返回顶部 返回列表