Skip to content

Conversation

y21
Copy link
Contributor

@y21 y21 commented Dec 19, 2018

Without this implementation the client emits coordinates every millisecond and the server emits an array with all blobs every 10 milliseconds which is heavily unefficient.
The client now only emits an event when the user changes the direction. It calculates the X/Y position by using the UNIX timestamp of when the direction was changed and where it was changed (coordinates).

@y21 y21 added the bug Something isn't working label Dec 19, 2018
@y21 y21 added backend Relates to the backend major change Very important, and may contain breaking changes or a lot of additions labels Dec 19, 2018
@y21 y21 self-assigned this Dec 19, 2018
@y21 y21 merged commit 856dfed into master Dec 19, 2018
@y21 y21 deleted the direction_events branch January 6, 2019 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Relates to the backend bug Something isn't working major change Very important, and may contain breaking changes or a lot of additions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant