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 Movement Implementation with StartAction/StopAction Events #62

Merged
merged 18 commits into from
May 2, 2024

Conversation

jhparkt
Copy link
Contributor

@jhparkt jhparkt commented Apr 29, 2024

  • Implement player movement in 3d space using StartAction/StopAction Events.
  • This movement is integrated with the camera, so it can act as the "player."
  • The speed, gravity coefficients can be modified in include/server/constants.hpp.
  • The hardcoded "room" in the server.cpp file has been modified to render as scaled cubes.

Arrow keys to move.
Space bar to jump.
Left Shift to sprint.
Mouse to look around.

  • Currently, pressing left, then pressing right would make the player stop.

@jhparkt jhparkt changed the title Player Movement Implementation with KeyDown/KeyUp Events Player Movement Implementation with StartAction/StopAction Events Apr 30, 2024
@jhparkt jhparkt marked this pull request as ready for review May 2, 2024 03:10
@Tyler-Lentz Tyler-Lentz merged commit 604ff24 into dev May 2, 2024
10 of 11 checks passed
@Tyler-Lentz Tyler-Lentz deleted the feat/movement branch May 2, 2024 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants