here im going to share with you my progress in developing a RTS game, and here im going to share with you my camera script for you to use, share, give criticism, feedback, sugestions on where i can improve and so on. So this is the first module that i have finished.
Requesting the actual printed letter by using “w” will make this input handling largely incompatible with keyboards of locales other than your own.
For example on a french keyboard the WASD controls would be rather awkward as you can see:
Also, if I remember correctly, if you check for “w” but the user holds down Shift at the same time, this key will not register. Meaning you’d have to also check for “W”.