Hello everybody,
it seems like a strange behavior on my computer, but when the numlock is turned on and i try to run with the numpad keys and change direction while running (or press shift before moving), the character changes back to walking.
This doesn't happen when numlock is turned off or while using the arrow keys.
Happens in MV too.
I didn't use any plugins, so it seems to be an issue with the base engine.
Moved to: MZ Support
The number pad controls 2 sets of keys. When numlock is turned on, you are entering numbers. When it's turned off, you are pressing arrow keys.
So when numlock is on and you press the keys, it is not reading them as arrows.
Ok, but they do work for walking when numlock is on, and when off i cannot use the keys 1,3,7 and 9 for my new plugin, because 2 of them are already in use... They just don't work for running, so it's either a bug that they do work at all or that they don't while running...
RPGMaker MZ is reacting to the numpad keys when numlock is on, so it is implemented, just not in the way you would expect when pressing shift. They are even referenced in Input.keyMapper, where it says they are mapped to the directional keys...
When checking the keycodes "left" key on keypad with numlock on is 100, "left" with numlock off is 37, same as the normal "left" key, so someone clearly started implementing using the keys while numlock is on
Update:
Ok, nevermind, seems it cannot be easily fixed, because it happens too when only using Javascript... Shift fires differently for the numpad when numlock is turned on than it does for the entire rest of the keyboard (or for numpad when numlock is turned off). With the next higher level (Keycodes in Windows) it doesn't happen