Crate nimble_client

source
Expand description

ยงNimble Client ๐Ÿ•น

Nimble Client is a Rust crate designed to manage networking tasks for multiplayer games. It handles downloading the complete game state from a host, managing participants by sending requests to the host, sending predicted inputs (steps) to the host for smoother gameplay, and receiving authoritative steps to ensure consistent game state.

ยงFeatures

  • Game State Downloading: Fetch the entire game state from the host. ๐Ÿ—‚๏ธ
  • Participant Management: Add and remove players by sending requests to the host. โž•โž–
  • Input Prediction: Send predicted inputs (steps) to the host for reduced latency. ๐Ÿ”ฎ
  • Authoritative Step Handling: Receive and apply authoritative steps from the host to maintain game state consistency. ๐Ÿ“ฅ๐Ÿ“ค
  • Metrics and Logging: Built-in support for network metrics and logging to monitor and debug client operations. ๐Ÿ“Š๐Ÿ› ๏ธ

Modulesยง

Structsยง

  • The main client structure handling datagram communication, participant management, and input (step) prediction.

Enumsยง

Traitsยง

Type Aliasesยง