Hello, everyone! I write my own UI based on windows (first window shows actor's parameters, second shows actor's skills to learn etc.) and I want to bind them to keyboard buttons via the Input.isPressed method and the SceneManager.update method (because I think it's the most convenient way), but I failed to bind actions to particular buttons such letters. Can I find any way to make Input class read any key from keyboard or make extra methods to do that?
Make the Input class read every input from keyboard
RPG Maker MV SupportAre you proficient with JavaScript?
If you're writing your own code and you just need a point of reference, you can look at my Keyboard Entry plugin:
forums.rpgmakerweb.com
That is not designed to function all the time during gameplay, it's limited to specific scenes, but it shows how to go about parsing the input.
You might also want to take a look at other ways to do this which already exist. For example, Yanfly's Button Common Events can be assigned to any key you like without redefining things in the keyMapper or Input class.
If you're writing your own code and you just need a point of reference, you can look at my Keyboard Entry plugin:
Turan's Christmas Calendar - Day 7
Merry Christmas, everyone! I've been particularly inspired by the multitude of Advent calendars this year, so I decided at the last minute to try to produce some seasonal community contributions of my own. For those whose Christmas knowledge is primarily secular, a touch of background...
forums.rpgmakerweb.com
That is not designed to function all the time during gameplay, it's limited to specific scenes, but it shows how to go about parsing the input.
You might also want to take a look at other ways to do this which already exist. For example, Yanfly's Button Common Events can be assigned to any key you like without redefining things in the keyMapper or Input class.
No, not much. I've been programming with JavaScript and RPGMV for 4 months. However, I am proficient with related languages such Python and C++, so JS isn't difficult for me.
Yes, I downloaded the plugin, looked into it and discovered other Input methods which can make UI development easier. Thank you!
Okay, I will look for this plugin.
Original thread: https://forums.rpgmakerweb.com/threads/make-the-input-class-read-every-input-from-keyboard.170524/