Registry / other / game-loop

game-loop

JSON →
library1.3.0rscratesunverified

A Rust crate that implements a frame-rate-independent game loop.

# Cargo.toml [dependencies] game-loop = "1.3.0"
INSTALL
IMPORT
SIG · GAME-LOOP
G
game-loop
otherrustv1.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

GameLoop
use game_loop::GameLoop;

Runs a fixed-timestep game loop with update and render callbacks.

use game_loop::GameLoop; fn main() { let mut game = GameLoop::new(60, |state| { // update logic }, |state| { // render logic }); game.run(); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
game-loop — cargo add game-loop · libregistry