(MZ) Classic GamePad (Joystick) Extensor!
This plugin will allow you to have better control over the devices that the user is using.
Detecting if you are using:
- Keyboard.
- Playstation Joystick.
- Xbox Joystick.
And be able to activate / deactivate switches based on the device used.
It also allows you to run common events when certain buttons on the controller are pressed.
By default Rpg maker has no conditions to know which device is being used. With this you can prepare to give the user a personalized experience without too many advanced and unnecessary configurations.
With this you can associate the classic buttons of a controller:
Button A (Xbox) / X (PlayStation)
Button B (Xbox) / Circle (PlayStation)
Button X (Xbox) / Square (PlayStation)
Button Y (Xbox) / Triangle (PlayStation)
LB (Xbox) / L1 (PlayStation)
RB (Xbox) / R1 (PlayStation)
LT (Xbox) / L2 (PlayStation)
RT (Xbox) / R2 (PlayStation)
Back Button (Xbox) / Select (PlayStation)
Start Button (Xbox) / Start Button (PlayStation)
L3 (Xbox) / L3 (PlayStation)
R3 (Xbox) / R3 (PlayStation)
D-Pad Up
D-Pad Down
D-Pad Left
D-Pad Right
As far as I know this plugin is the only one compatible by default with the Vizustella Core system for dynamic help buttons. In other words, it allows you to dynamically display the button icons depending on the command being used. (Requires having VizuMZ_0_CoreEngine correctly to use function.)
Other plugins from other authors remove this compatibility. This is a simple but effective plugin. And perhaps it is what you were looking for to give dynamism to your project.
What can I do with this plugin?
Examples:
You can display dynamic tooltips based on switch states.
That is, if you are using a Playstation controller that, for example, shows you a message that says "Use X to attack" or if you are using an Xbox controller that says "Use A to attack" among endless ideas.
Compatibility:
RPG MAKER MZ
Tested on:
- RPG MAKER MZ / v1.7.0
- Compatible with: Vizustella Core Engine
License:
By acquiring this plugin you can improve it and adapt it to your needs. Attribution to your project is required, you can use:
Maxii1996 or Undermax Games.
You can use it in commercial or non-commercial projects. Please do not resell the plugin.
How to Install the Plugin:
Once you download the file, copy and paste the "ClassicGamepadsExtensor.js" file:
-> To the "plugins" folder inside your project. (root/js/plugins/)
- Remember add and activate the plugin from the RPG MAKER MZ Plugin Editor. Then configure what you need to adapt it to your project. The setup is super easy. It's all inside the plugin help.
Information:
- If the user does not have the device drivers, the controller may not work. The plugin does not add additional drivers or APIs. If your game made in Rpg maker MZ detects your controller, this plugin should be compatible.
Plugin get:
Get Plugin on my itchio Page!
本贴来自国际rpgmaker官方论坛作者:Undermax处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/mz-classic-gamepad-joystick-extensor.159003/
页:
[1]