I want to disable click movement and only allow ASWD to be used as movement in the game. If anyone can help me that would be great
How do you disable click mode?
RPG Maker MZ SupportIf you only want to disable movement, you can create a plugin with following code:
Your plugin would be literally just this one line.
Note that this will also disable movement using touch, so is not suited for projects that also need to work on smartphones or any other devices that don't have a keyboard.
To map WASD to movement, you'll need to add the following lines to your plugin:
Code:
Scene_Map.prototype.isMapTouchOk = function () { return false; };
Note that this will also disable movement using touch, so is not suited for projects that also need to work on smartphones or any other devices that don't have a keyboard.
To map WASD to movement, you'll need to add the following lines to your plugin:
Code:
Input.keyMapper[87] = "up";
Input.keyMapper[65] = "left";
Input.keyMapper[83] = "down";
Input.keyMapper[68] = "right";
THank you so much
Thread closed
Original thread: https://forums.rpgmakerweb.com/threads/how-do-you-disable-click-mode.137408/