与其模拟按键,不如直接调用?雪在燃 发表于 2018-1-27 22:13
与其模拟按键,不如直接调用?
找到入口然后调用不可以么?
yang1zhi 发表于 2018-1-27 22:23
我知道啊,不还是要用this.pluginCommand(command, args);
也就是Game_Interpreter.pluginCommand(comman ...
雪在燃 发表于 2018-1-27 22:30
var _Game_Interpreter_pluginCommand =
Game_Interpreter.prototype.pluginCommand;
...
yang1zhi 发表于 2018-1-27 22:32
这个我也找到了,是
Input._latestButton = 'escape';
Input._pressedTime = 0;
无能为力了,应该和按键的处理顺序有关系yang1zhi 发表于 2018-1-27 22:32
这个我也找到了,是
Input._latestButton = 'escape';
Input._pressedTime = 0;
雪在燃 发表于 2018-1-27 23:41
查阅了半天相关代码,我觉得你这个的实现不如直接调用需要的方法来得快捷(我觉得比起按下x键,不如直接 ...
| 欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X5.0 |