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

Use sockets to send character state updates #122

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Donorhan
Copy link
Contributor

Character updates (position & direction) are now sent using sockets rather than using the database.

Benefits:

  • Mutation on the Users collection on the client side is reduced, which reduces the CPU usage
  • The database receives less updates
  • It is possible to send the state of a user to another more frequently in order to have real time

WIP: Missing the removal of Meteor in the proximity sensor and probably other surprises to fix before we can merge this PR

@Donorhan Donorhan added the enhancement New feature or request label Sep 14, 2022
Base automatically changed from feature/network-manager to master September 21, 2022 08:42
@Donorhan Donorhan marked this pull request as draft September 28, 2022 15:02
@Donorhan Donorhan changed the title WIP: Use sockets to send character state updates Use sockets to send character state updates Sep 28, 2022
@YglesEyes YglesEyes requested review from YglesEyes and francis-lempire and removed request for YglesEyes and francis-lempire March 29, 2023 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant