No Mouse Dashing
This is a teeny little script snippet that makes the character walk at a normal speed when you're using the mouse for player movement.Just copy the text below into a plain text editor and save it in your plugins file with a .js extension.Name doesn't matter.Add to your plugins, and no more fast walking with mouse click.
Code:
(function() {
Game_Player.prototype.updateDashing = function() {
if (this.isMoving()) {
return;
}
if (this.canMove() && !this.isInVehicle() && !$gameMap.isDashDisabled()) {
this._dashing = this.isDashButtonPressed();
} else {
this._dashing = false;
}
};
})();
Free to use, including commercially
本贴来自国际rpgmaker官方论坛作者:Shaz处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/no-mouse-dashing.92399/
页:
[1]