Smooth remote players: interpolation between snapshots

Aperta
#7 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
68/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
game-dev

Direzione di ricerca

Start with the headless client’s remote-player state handling; the issue does not name specific files or tests. Build a snapshot buffer and exercise it with recorded snapshots containing jitter and loss, checking position and heading interpolation, bounded velocity extrapolation, and the smoothed state exposed to scripts and an embedding game client.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement help wanted networking

The client stores the latest state it received for each remote player and nothing else. Rendered directly, other players would jump 20 times per second.

Wanted
  • Keep a short buffer of snapshots per remote player and render a little in the past, interpolating position and heading.
  • Extrapolate from velocity for a bounded time when a snapshot is late, then stop.
  • Handle heading wrap-around (359 to 0 degrees).
  • Expose the smoothed state to scripts and to an embedding game client.

Needs no game files. It can be built and tested entirely against the headless client: feed recorded snapshots with jitter and loss, and assert on the output.

Lingua principale
Rust
Stelle
3
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CodingRule/SixM

Tutte le issue di CodingRule/SixM

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.