Where to put the WASD key movement for the player.

This is my FIRST TIME using the RPG Maker VX Ace and also my first post, and I can say, what a nifty program!


As for a beginner, I encounter problems and I have to ask this, where can I edit the WASD key movement for my player/menu movement?


Well I have found some codes, but the problem, where to input them? (my hunch is telling me is putting it in a script, but how?)


I also tried the <F1> key mapping but my question would be, would the mapping only affects the maker of the RPG or not?


Thanks btw..  🙂


Spoiler
Code:
#==============================================================================
# ▼ WASD Movement
# -- Last Updated: 2014.02.25
# -- Author: Helladen
#==============================================================================

module Input
  #--------------------------------------------------------------------------
  # alias method: self.dir4
  #--------------------------------------------------------------------------
  class <<self; alias helladen_dir4 dir4; end
  def self.dir4
    return 2 if Input.press?(:Y)
    return 4 if Input.press?(:X)
    return 6 if Input.press?(:Z)
    return 8 if Input.press?(:R)
    helladen_dir4
  end
end
http://forums.rpgmakerweb.com/index.php?/topic/35484-wasd-movement/


:3

Yah, I've been to this site but where to put the script? My arrow keys are broken tho that's why I am implementing this.
It should go under materials and above main.
It should go under materials and above main.

Thanks it was working but it was just facing not moving, is there something wrong?


OMG, I am so bothersome please forgive me //rmwforums.s3.amazonaws.com/emoticons/default_sad.gif  ;-;
Could it be conflicting with another script you have?
Oops, my fault, I placed my character in the water! THANK YOU senpai~


Although the WASD movement does not work in menu? Is there another script for this?
It doesn't seem to no. Also, I haven't seen a script for WASD use in menus unfortunately.
OK, thank you for your big help  😀
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
Since my problem is not done yet ;-; I FOUND A SCRIPT WHICH IS BELIEVED THAT IT HAS FULL KEYBOARD (movement, menu, choices and others)


It's from Zalerinian and I hope this is the script that what I've been looking for, here's the topic btw;


http://forums.rpgmakerweb.com/index.php?/topic/24868-rgss3-keyboard-manager/ (the script is downloadable so I'm pretty sure I'm not allowed to paste it)


But one problem, my character cannot move! It's like it's missing something that I am not aware of!


Can you help me again community //rmwforums.s3.amazonaws.com/emoticons/default_biggrin.gif 
Never mind, I solved the problem myself. //rmwforums.s3.amazonaws.com/emoticons/default_smile.gif


Anyone wondering how I did, change the letters of DOWN, UP, LEFT, RIGHT, change it to WASD and make sure it is lower cased AND no keys have 2 functions.


PROBLEM SOLVED //rmwforums.s3.amazonaws.com/emoticons/default_smile.gif

Original thread: https://forums.rpgmakerweb.com/threads/where-to-put-the-wasd-key-movement-for-the-player.58188/