Skip to content

Don't emit blob coordinates every few milliseconds #50

@y21

Description

@y21

Is your feature request related to a problem? Please describe.
It is heavily inefficient to emit the blob coordinates every few milliseconds and also causes the webserver to be slow and take lots of RAM + data for the client. It should not be a problem, but once there are 10 or more people playing, it could lead to issues.

Describe the solution you'd like
Instead the client should only emit when the blob changes its direction. This should decrease the amount of requests by far.
When implementing this, we will need to let the server keep track of the amount of pixels the blob has moved in a different way than updating the coordinates on each request. It would also terminate a lot of ways to cheat (if the client does not do any of those calculations).

Metadata

Metadata

Assignees

Labels

backendRelates to the backendenhancementNew feature or requestfrontendRelates to the frontendhigh prioritymajor changeVery important, and may contain breaking changes or a lot of additions

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions