Hi everyone, I've noticed that if you press the up and down keys at the same time, the player moonwalks. In fact, all the movement keys are taken into account simultaneously, so that if you press left and down, for example, the character moves diagonally...
So what can you do to prevent this behavior? How can I prevent my character from moving diagonally? Thank you !