A downloadable mod

Download NowName your own price

A plugin for support of multiple gamepads in RPG Maker MV/MZ.

The plugin comprises a few features related to gamepads. First, you can define which gamepads control player's movent as well as menu actions. You can set gamepad ids with the Player Gamepad parameter. Note that gamepad ids start with 0.

If you want a map event to be controlled with a gamepad put "#gamepad" into the note field of that event followed by a number. For example if you want an event controlled by a second gamepad add "#gamepad1" to the notes.


The plugin also keeps state of all gamepads in a special variable that could be used with a conditional script call. For example if you want if to check if button A is pressed on a third controller test for "MultiPad.gamepads[2].ok" script. If you don't use any plugins that extend the list of possible buttons the options are "ok", "cancel", "shift", "menu", "pagedown", "pageup", "up", "down", "left", "right". If you want to go beyond that you should use the gamepad API that is already available in RPG Maker MV/MZ.


If you want to poll if a gamepad is connected use a conditional script "MultiPad.gamepads[0].connected" (0 is a gamepad id).

You can also set parameters "On Connect" and "On Disconnect" to trigger common events whenever a gamepad is connected or disconnected. You can assign scripts "MultiPad.lastGamepadConnected" and "MultiPad.lastGamepadDisconnected" to variables to read connected/disconnected gamepad ids in common events.


At the moment the plugin supports up to 4 controllers.

The plugin is under MIT license.

StatusReleased
CategoryGame mod
Rating
Rated 5.0 out of 5 stars
(2 total ratings)
Authorszatkus
TagsRPG Maker, RPG Maker MV, RPG Maker MZ

Download

Download NowName your own price

Click download now to get access to the following files:

MultiPad.js 12 kB
MultiPadDemo.zip 45 MB

Leave a comment

Log in with itch.io to leave a comment.