Expand description
A simple crate that takes care of updating the main loop of a game engine. It is based on a stack-based state machine and is agnostic of the engine used. It does not rely on an ECS nor on other libraries. Sleeping is configurable. When sleeping is disabled, this crate is compatible with WASM. When enabled, the game loop will run at the target framerate.
Structs§
- The main structure of the engine core loop. It holds the data necessary to the execution of a game engine.
- A state machine that holds the stack of states and performs transitions between states. It can be created using
- Frame timing values.
Enums§
- A transition from one state to the other.
Traits§
- Trait that states must implement.