An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

Core Ex Gamepad - CoreEx_Gamepad.js

Plugin desc : Vibrate Game Controller

License : MIT License

Author : Akitoshi Manabe

Website : https://github.com/akimana/RPGMAKER_MZ_Plugins/blob/main/CoreEx_Gamepad.js

Desc page : https://github.com/akimana/RPGMAKER_MZ_Plugins/

Download Page : https://raw.githubusercontent.com/akimana/RPGMAKER_MZ_Plugins/main/CoreEx_Gamepad.js

File name : CoreEx_Gamepad.js

Help of plugin :

* @target MZ
 * @plugindesc Vibrate Game Controller
 * @author Akitoshi Manabe
 * @url https://github.com/akimana/RPGMAKER_MZ_Plugins/
 * @lisense MIT
 * @help Version 1.0.0
 *
 * Useage:
 *   1. Call the plugin command ”Vibrate Gamepad”.
 *   2. Execute ”playEffect”.
 *   Preset to common event and call that others.
 *
 * Limitations:
 *   Web deploy is not supported.
 *   1. Firefox was not supported.
 *   2. It may become unusable if the version of nwjs changes.
 * 
 * For experimental implementation in WebAPI specification
 *   Cancellation does not work.
 *   It is easy to handle if you set the vibration ”duration” modestly
 * 
 * via: MDN
 * https://developer.mozilla.org/ja/docs/Web/API/Gamepad/vibrationActuator
 *
 * @command playEffect
 * @text Viberate Gamepad
 *
 * @arg startDelay
 * @type number
 * @default 0
 * 
 * @arg duration
 * @type number
 * @default 600
 * 
 * @arg weakMagnitude
 * @type number
 * @default 0.4
 * @decimals 1
 * 
 * @arg strongMagnitude
 * @type number
 * @default 0.6
 * @decimals 1

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2026 All Rights Reserved.