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

[转载发布] Ready to Rumble: A Plugin for Controller Vibration

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

    连续签到: 2 天

    [LV.7]常住居民III

    9015

    主题

    864

    回帖

    6万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 2026-7-23 09:13:55 | 显示全部楼层 |阅读模式
    Ready to Rumble version 2.6

    Created by ZeroBreak with consultation from OS87 and Waterguy. Credit ZeroBreak in any released games. Free to use under the terms of the MIT license.

    About the plugin
    A lot of games these days offer a rumble mode that activates in response to certain game events (an explosion set off during a major plot twist, getting knocked out during a fight, or simply taking a hard fall to the ground) and this plugin has been designed to bring that experience to RPG Maker.

    Release history:
    v1.0: Initial RTM
    v1.1: Unanticipated bugfix
    v1.2: Added control switch assignment to change rumble mode status
    v1.3: Small change to accommodate the possibility of a crash when a gamepad is disconnected. Also set the maximum supported values to eliminate possibility of the effect not working if set too high or too low.
    v1.4: Replaces control switch with option menu function, and directs the effect to the most recenty-used gamepad. A very special thanks to YoraeRasante for this update.
    v1.5: Added verification to detect the availability of a supported gamepad. As of this update, the functions will not be available if gamepad detection fails.
    v1.6: Changed to a commercial, non-redistribution license.
    v2.0: Added code and instructions for the Universal Windows interface, as well as for mobile device rumble. Additionally, the commercial license now uses a "pay your way" model; you can download without charge from any of my authorized storefronts, or pay as you believe the plugin is worth.
    v2.1: Changed the plugin status to an MZ plugin due to compatibility verification. Also changed the mobile device rumble detection method due to unexpected issues with the prior method. You can still use the plugin with MV through special procedures.
    v2.2: Changed the order of the verifications so that the status of the rumble setting is more accurately detected and removed the WinUI2 (formerly Universal Windows) setup instructions due to the required switch from the existing MSHTML-based derivatives to the open Chromium framework in the WebView2 interface.
    v2.3: Added configuration code for the persistence of preference.
    v2.4: Licensing changed to conform to the MIT License, and commercial licensing requirements are removed in conjunction with this change.
    v2.5: Added code to ignore rumble calls if input is from a mouse or keyboard.
    v2.6: Removed mobile device rumble due to security policy incompatibilities in the latest available versions of the WebKit and Chromium engines.

    Using the plugin
    To activate the rumble feature in a given event or scene, use the following script call:

                    Code:       
    1. Rumble(strong,weak,time)
    复制代码


    Strong is the maximum velocity of the effect's magnitude.
    Weak is the exact opposite: the weak end of the effect.
    Time is defined in milliseconds, so 1000::1 and 5000 is 5 seconds. (Get it?)
    Note that neither weak nor strong can go over 1.0, and that magnitude values of 0.1 are completely ignored (and for obvious reasons). Also, the values for weak and strong can be reversed and still work properly.

    For example:
                    Code:       
    1. Rumble(1,1,1000)
    2. Rumble(0.4,0.2,500)
    3. Rumble(0.3,0.6,5000)
    复制代码


    Q&A

    What reasoning does the NW.JS update provide as part of the install process?​

    If you're on 64-bit, you can take advantage of improved access to your system resources beyond the 3GB combined access limit, making for improved game performance. Also, it is required on MV in order to guarantee the complete availability of the gamepad servicing libraries for NW.JS that allow for the plugin to work properly.
    Is RPG Maker MZ supported?​

    Yes. RPG Maker MZ has been tested and is fully compatible. Note that because MZ is newer than MV, you will not need to patch MZ to use the plugin.
    What should I say if my customers are complaining of rumble malfunctioning?​

    Provided the gamepad has a rumble feature there shouldn't be an issue. But in rare cases, making a change to the rumble option while the gamepad is connected may desync the rumble feature. If this occurs, simply unplug and reconnect your gamepad to cycle access to the rumble interface.
    Download Now
    Get it on itch.io


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

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-8-4 20:30 , Processed in 0.069757 second(s), 55 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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