11 releases
0.0.17-dev | Oct 24, 2024 |
---|---|
0.0.16 | Oct 22, 2024 |
0.0.12-dev | Sep 23, 2024 |
0.0.3 | Feb 6, 2024 |
0.0.1 | Jan 31, 2024 |
#1286 in Game dev
33 downloads per month
Used in 5 crates
(3 directly)
7KB
107 lines
Nimble-Seer
nimble-seer
is a Rust library designed to handle predicted steps and provide callbacks for
deterministic simulations. It efficiently manages predicted game state steps and syncs them
with authoritative steps, ensuring a smooth and predictable simulation experience.
Seer: one that predicts future events or developments
✨ Features
- Predicted Steps Queue: Manages a queue of predicted steps, allowing for simulation without immediate authoritative feedback.
- Callbacks: Provides
SeerCallback
trait to handle actions before, during, and after each tick in the simulation. - Authoritative Step Integration: Syncs predicted steps with authoritative steps, discarding outdated predictions.
📦 Installation
Add the following to your Cargo.toml
file:
[dependencies]
nimble-seer = "0.0.17-dev"
License
This project is licensed under the MIT License - see the LICENSE file for details.
Dependencies
~130KB