Smooth remote players: interpolation between snapshots

Aberta
#7 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
68/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
rust
Domínio
game-dev

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Rust
Estrelas
3
Forks
1
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de CodingRule/SixM

Todas as issues de CodingRule/SixM

Issues semelhantes

Mais issues de Rust

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.