Home > front end >  Movement controls using "WASD" in JavaScript
Movement controls using "WASD" in JavaScript

Time:02-14

So i am making a game right now, and the current movement is really choppy because when you press a button e.g. 'W'. it will take away from the 'top' position to give it the effect of moving up. i was hoping to use 'this.x' and 'this.y'. I dont know much about it, but i am keen to learn it. Please dont make the code unnecessarily complex. Thanks in advance

  • Related