Smooth remote players: interpolation between snapshots

Đang mở
#7 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
68/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
game-dev

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Rust
Star
3
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CodingRule/SixM

Tất cả issue của CodingRule/SixM

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.