Closed E-A-N closed 5 years ago
wait until I'm finished with https://github.com/michellelynne/LTC_game_jam/issues/80 for anyone interested in this.
I'll handle this since I'm already in this estate of the game
I'd like to change the implementation here, since right now, the x and y movement are independent of each other, meaning that if the effective character speed is 20 when moving horizontally, it becomes 20*sqrt(2) when moving diagonally. This is also causing the character to not move directly towards the cursor.
The player maximum player speed should become the magnitude of the movement vector, and the movement vector should point directly to the cursor.
Sounds good, make a separate ticket for the bug fix @Ricimon
Make sure character move in any direction, may have to make a sub module of gameLoop.js