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

#1138 in Game dev

Download history 89/week @ 2024-09-16 375/week @ 2024-09-23 40/week @ 2024-09-30 2/week @ 2024-10-07 128/week @ 2024-10-14 585/week @ 2024-10-21 21/week @ 2024-10-28 16/week @ 2024-11-04

750 downloads per month
Used in 5 crates (3 directly)

MIT license

7KB
107 lines

Nimble-Seer

Crates.io Documentation

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