-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
character Omni directional movment #81
Comments
wait until I'm finished with #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
The text was updated successfully, but these errors were encountered: