time-tick

Crates.iotime-tick
lib.rstime-tick
version0.0.1
sourcesrc
created_at2024-10-14 12:58:05.766607
updated_at2024-10-14 12:58:05.766607
descriptionTime Ticker
homepage
repositoryhttps://github.com/piot/time-tick
max_upload_size
id1408279
size9,381
Peter Bjorklund (piot)

documentation

README

🕒 Time Tick

time-tick is a Rust crate designed to manage and calculate time intervals for game loops. It provides a simple and efficient interface to track elapsed time and determine how many ticks should be processed in a single update cycle. Perfect for games and simulations that require consistent timing for updates! 🎮

🚀 Features

  • ⏱️ Track time intervals for game updates.
  • 🔄 Specify tick durations and maximum ticks per update.
  • 🔁 Reset and adjust tick timing dynamically.

📦 Installation

To use time-tick, add it as a dependency in your Cargo.toml:

[dependencies]
time-tick = "0.0.1"
Commit count: 1

cargo fmt