Smooth remote players: interpolation between snapshots

Open
#7 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
game-dev

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Rust
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CodingRule/SixM

All issues in CodingRule/SixM

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.