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

[转载发布] Quasi Popup

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

    连续签到: 2 天

    [LV.7]常住居民III

    5778

    主题

    864

    回帖

    3万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 昨天 17:33 | 显示全部楼层 |阅读模式
    Quasi Popup Version - 1.00


            by Quasi




    * I'll make a better video on youtube eventually.


    * The <icon:1> actually works in this release. 


            About
    This plugin adds a popup feature to RPG Maker MV. The popups you create will appear above the character and will pick a random popup dialog that you created at a fixed interval. This plugin is not meant to be used as a custom message system, it's intended to make a map look more lively. These popups can be locked to a map coordinate or set as a Notification which will move with the screen ( if you create them manually through script call ). There's also a List feature for notifications, when a popup is added to a list and any popup that list is currently displaying will be shifted up.
             


            Links


    Github - Download


    Other


            The notification list doesn't have much documentation on it yet because it's done through pure js script call.


            Disclaimer: This plugin is not meant to be used as a message system!



            Setting up Random popups at a Set Interval



            We can bring a map to life by having a random popup over an event at every X interval. There are 4 steps to doing this, 2 are optional.


            Step 1 – Popup Settings



            Setup the following inside a comment in the event.


    <popupSettings>

    interval: intervalValue

    duration: durationValue

    offsetX: offsetXValue

    offsetY: offsetYValue

    alignX: alignXValue

    alignY: alignYValue

    window: windowValue

    </popupSettings>


            intervalValue: Set this value to how often should a popup appear ( In frames )durationValue: Set this value to how long a popup appears for ( In frames )offsetXValue(Optional, default: 0) Set this value to offset the X position of the popupoffsetYValue(Optional, default: 0) Set this value to offset the Y position of the popupalignXValue(Optional, default: center) Set this value to left, center, or rightalignYValue(Optional, default: top) Set this value to top, center or bottomwindowValue(Optional, default: false) Set this to true or false to display a windowskin


            Step 2 – Popup Style



            (Optional)
            Setup the following inside a comment in the event.


    <popupStyle>

    font: fontValue

    fill: fillValue

    stroke: strokeValue

    strokeThickness: strokeThicknessValue

    align: alignValue

    </popupStyle>


            fontValue: Set to font the popup will use in the format fontSize fontNamefillValue: Set to the css color of the font to usestrokeValue: Set to the stroke color to use, css ColorstrokeThicknessValue: Set to the size of the strokealignValue: Set to text align value; left, center or right


            Step 3 – Popup Transition



            (Optional)
            Setup the following inside a comment in the event.


    <popupTransition>

    startFrame duration transitionName transitionSetting

    </popupTransition>


            startFrame: At what frame does this transition startduration: How long does the transition lasttransitionName: Name of the transition to use; See -link- for detailstransitionSetting: Settings for the transition


            Step 4 – Popup Text



            For popup text we will write our message inside a comment, with a label directly above it.


            Label Format





    Quasi Popup X


            X: Change this to the number of that popup


            A Comment directly below that label will be marked as Popup #X.


            Popup Examples



            A bit lazy to write a proper explanation on the examples. But here as some screenshots of my sample popups.

    Spoiler









            Making Notifications



            Making notifications will be considered “Advanced” section. You will need to do quite a bit of javascript using the script command inside event.


            Script Call



            Two different types of popups.
            1. A normal popup


    QuasiPopup.start(x, y, string, style, settings, notification);


            x: The X location for the popup to appear ( in pixels )y: The Y location for the popup to appear ( in pixels )string: The text inside the popupsettings: An object will the settings, or set to null to use default settingsnotification: set to true or false to mark as notification.


            2. A popup in a list ( if another popup is added to list, existing popups will slide up )


    QuasiPopup.startList = function(id, x, y, string, style, settings);


            id: The List ID to add a new popup tox: The X location for the popup to appear ( in pixels )y: The Y location for the popup to appear ( in pixels )string: The text inside the popupsettings: An object will the settings, or set to null to use default settings






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

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有账号?立即注册

    x
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-7-26 03:53 , Processed in 0.086503 second(s), 53 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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