nimble-seer

Crates.ionimble-seer
lib.rsnimble-seer
version0.0.17-dev
sourcesrc
created_at2024-01-31 20:09:23.551389
updated_at2024-10-24 10:27:55.897985
descriptionNimble Prediction
homepage
repositoryhttps://github.com/nimble-rust/nimble
max_upload_size
id1122157
size10,131
Peter Bjorklund (piot)

documentation

README

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.

Commit count: 151

cargo fmt