-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feat/camera #64
Feat/camera #64
Conversation
… feat/creature-player-enemy-tree
… feat/creature-player-enemy-tree
…default case Changed EID from server to be the return value of calling createObjects. Currently, two cubes will get rendered and only one moves. Need to think about how to handle dropped session code now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very very epic PR. It's good to see the events started to get messed with by everyone
My wayland getting bricked is a little less epic, but Xorg works 🤷
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work. One of the most important part of our game accomplished. Camera works well on my end (windows), and I think I can start to integrate movement that I made with the camera so that we can have first person camera movement!
Implemented basic camera functionality and movement. The user is able to control lateral movement with WASD and change the viewing angle using the mouse.
The camera uses the player object (same as current session) to send and receive updates on position, and also sends a vector representing which direction the player is facing.
A new event type ChangeFacingEvent was added to events.hpp to support the viewing angle updates.
This branch also contains changes from feat/creature-player-enemy-tree.