9 releases
0.0.17-dev | Oct 24, 2024 |
---|---|
0.0.16 | Oct 22, 2024 |
0.0.12-dev | Sep 23, 2024 |
0.0.1 | Feb 7, 2024 |
#788 in Game dev
Used in 2 crates
93KB
1.5K
SLoC
Nimble Client đšī¸
Welcome to Nimble Client, a robust and efficient Rust crate designed to handle networking tasks for multiplayer games. đŽâ¨
đĻ Overview
Nimble Client is a lightweight library that manages:
- Downloading the Complete Game State from a host
- Adding and Removing Participants in a game session by sending request messages to the host
- Sending Predicted Inputs (Steps) to the host for smoother gameplay
- Receiving Authoritative Steps from the host to ensure game state consistency
Note: Nimble Client does not handle game logic directly. Instead, it interfaces with your game logic through callbacks, ensuring a clean separation of concerns.
⨠Features
- Efficient Network Communication: Handles sending and receiving data with optimized performance.
- Participant Management: Easily add or remove players from your game sessions.
- Prediction and Reconciliation: Sends predicted inputs and processes authoritative steps to maintain game state integrity.
- Metrics and Logging: Built-in network metrics and logging for monitoring and debugging.
- Extensible Callbacks: Integrate seamlessly with your game logic through customizable callbacks.
đ Getting Started
đ Prerequisites
- đĻ Rust: Ensure you have Rust installed. If not, download it from rustup.rs.
đĻ Installation
Add nimble-client
to your Cargo.toml
:
[dependencies]
nimble-client = "0.0.17-dev"
License
This project is licensed under the MIT License - see the LICENSE file for details.
Dependencies
~490KB