We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Could you add a shift to sprint funciton? I looked at the code but I don't know how to control the player's speed
The text was updated successfully, but these errors were encountered:
add var running = this.keys[16]; to player.js before // Walking and add if(running) { velocity.x *= 1.4; velocity.y *= 1.4; } inside if ( walkVelocity.length() > 0 ) {
Sorry, something went wrong.
Yes I found this out yesterday, I added a toggleSprint function that is toggled using the shiftKey but thanks!
No branches or pull requests
Could you add a shift to sprint funciton? I looked at the code but I don't know how to control the player's speed
The text was updated successfully, but these errors were encountered: