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

Light-weight match observer #2527

Open
xezon opened this issue Oct 8, 2024 · 0 comments
Open

Light-weight match observer #2527

xezon opened this issue Oct 8, 2024 · 0 comments
Labels
Enhancement Is new feature or request Executable Is game code related Major Severity: Minor < Major < Critical < Blocker

Comments

@xezon
Copy link
Collaborator

xezon commented Oct 8, 2024

In the original game, a match observer is a full player entity, that takes the same role in Network communications as a regular player does. The disadvantage is that this has an impact on latency and therefore allows for a minimal amount of observers. The alternative is a more light-weight observer entity, that participates passively in the match network.

Potential implementation:

Players broadcast their game state messages to a server. The broadcast may have a configurable delay. The server is passive, and just collects the player match data. Compatible game clients, that act as observers, can connect to that server and access the player match data feed - similar to a replay - and play it back.

Lobby chat data could theoretically be included in a match data feed if really necessary.

This feature is best combined with

Advantages:

  • Unlimited amount of observers can access the match data feed
  • Little to no impact on game match latency
@xezon xezon added Enhancement Is new feature or request Major Severity: Minor < Major < Critical < Blocker Executable Is game code related labels Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Is new feature or request Executable Is game code related Major Severity: Minor < Major < Critical < Blocker
Projects
None yet
Development

No branches or pull requests

1 participant