Skip to content
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

Player Sprint #69

Open
2 of 4 tasks
petercondoleon opened this issue Oct 8, 2017 · 1 comment
Open
2 of 4 tasks

Player Sprint #69

petercondoleon opened this issue Oct 8, 2017 · 1 comment
Assignees

Comments

@petercondoleon
Copy link
Contributor

petercondoleon commented Oct 8, 2017

Description

Add the ability to make the player sprint by double tapping a movement key. Allows the player to traverse a larger world faster.

Tasks

The feature involves the following:

  • Double tapping a WASD key initiates sprint (by doubling the default speed).
  • Sync animations and sound effects with player move speed to match walk and sprint.
  • Colliding with an entity or edge cancels the sprint.
  • Bonus: colliding while sprinting makes a subtle screen shake effect.

Contributors

Feel free to add yourself to this list if you would like to help implement this feature.

@petercondoleon petercondoleon self-assigned this Oct 8, 2017
@fff134 fff134 self-assigned this Oct 9, 2017
@petercondoleon
Copy link
Contributor Author

The player can now sprint by double tapping and holding a move key in the direction they wish. Currently the sprint is synced with the wizard hover animation which looks awesome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants