じ☆ve冰风 发表于 2026-7-28 12:59:18

Easy WASD and Arrow controls

Good evening,

I made adjustments to YEP_ButtonCommonEvents and AS_InputSettings so both Arrow Keys and WASD buttons work. I tested it on map, in menu's and when inserting a name with SRD_NameInputUpgrade. The AS_InputSettings plugin needs to be placed UNDER YEP_ButtonCommonEvents. In AS_InputSettings, keep WASD conrols to false, it won't work otherwise. There is no in game ON/OFF switch or Options menu toggle, both WASD and Arrow keys work always at the same time. This could be handy for laptops which sometimes have split up and down keys (as in 2 small buttons over the size of 1 normal button. This makes standard game controls pretty much useless).

EDIT: It's probably worth noticing that a name imput should be at the very beginning of the game where the player didn't move yet, as I didn't test it if the player moves before that. Anyway, after a name input the following Plugin Commands should be made:
SwitchButton All
RevertButton Left
RevertButton Up
RevertButton Right
RevertButton Down

Before name input: RevertButton Dash


Credits and Terms of Use:
AS_InputSettings: Astra Cat.
Terms of Use: https://forums.rpgmakerweb.com/inde...vement-disable-f2-f4-and-disable-mouse.54527/

YEP_ButtonCommonEvents: Yanfly Engine Plugins.
Terms of Use: http://yanfly.moe/terms-of-use/

SRD_NameInputUpgrade: SumRndmDde.
Terms of Use: http://sumrndm.site/terms-of-use/

Chef edits: Add Chef to your game's credits and leave a like at the following post: https://forums.rpgmakerweb.com/index.php?threads/almanac.98421/

The plugins may be edited as long as it's between the plugin's original owners' guidelines.


Kind regards,

Chef


本贴来自国际rpgmaker官方论坛作者:Arend处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/easy-wasd-and-arrow-controls.99907/
页: [1]
查看完整版本: Easy WASD and Arrow controls