VXAce Change the operation method

how can I change the method of operation from directional keys(<, pg up, pg down, >)to wasd
Maybe this could help? I haven't tried it myself, though.
Keep in mind that using Win32_API to get the keys means that your game will no longer work on anything but the windows platform with keyboard(no controller/porting support).
Regardless, I think all you'd need to do is this.
Code:
#Change This,
UP:    [Keys[:_up], Keys[:_num8] ],
DOWN:  [Keys[:_down], Keys[:_num2] ],
RIGHT: [Keys[:_right], Keys[:_num6] ],
LEFT:  [Keys[:_left], Keys[:_num4] ],
#To This,
UP:    [Keys[:_w] ],
DOWN:  [Keys[:_s] ],
RIGHT: [Keys[:_d] ],
LEFT:  [Keys[:_a] ],
Then un/rebind the conflicting keys.
Side note: WASD are default keys in Ace so you could technically rebind the default ones without the script, depends on how many keys your game would need.
Maybe this could help? I haven't tried it myself, though.
Thank you for your help, I will try it later
Keep in mind that using Win32_API to get the keys means that your game will no longer work on anything but the windows platform with keyboard(no controller/porting support).
Regardless, I think all you'd need to do is this.
Code:
#Change This,
UP:    [Keys[:_up], Keys[:_num8] ],
DOWN:  [Keys[:_down], Keys[:_num2] ],
RIGHT: [Keys[:_right], Keys[:_num6] ],
LEFT:  [Keys[:_left], Keys[:_num4] ],
#To This,
UP:    [Keys[:_w] ],
DOWN:  [Keys[:_s] ],
RIGHT: [Keys[:_d] ],
LEFT:  [Keys[:_a] ],
Then un/rebind the conflicting keys.
Side note: WASD are default keys in Ace so you could technically rebind the default ones without the script, depends on how many keys your game would need.

Thank you for your help, I will try it later

Original thread: https://forums.rpgmakerweb.com/threads/change-the-operation-method.177904/