11 releases

new 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

#1667 in Game dev

Download history 6/week @ 2024-07-04 403/week @ 2024-09-19 88/week @ 2024-09-26 15/week @ 2024-10-03 74/week @ 2024-10-10 427/week @ 2024-10-17

643 downloads per month
Used in 4 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