Hello! I'm making a top-down RPG and I'm having trouble preventing players from pressing two keys at the same time when moving.
The reason why I don't want this is because if the Left and Right keys are held down, the player moves twice as fast to the left. Same for the Up and Down keys, except it moves up twice as fast.
I should probably also note that I am using sub-pixel movement to move the player.
If needed, I would gladly put the project file in this thread.
Thanks for helping!