euv-engine 0.9.1

A high-performance 2D game engine built on the euv framework, featuring ECS, fixed-timestep game loop, canvas rendering, physics, collision detection, sprite animation, and audio.
Documentation
1
2
3
4
5
6
7
8
/// The JavaScript `performance` object property name used to access the high-resolution timer.
pub(crate) const PERFORMANCE_OBJECT: &str = "performance";

/// The JavaScript `now` method name on the `performance` object.
pub(crate) const PERFORMANCE_NOW_METHOD: &str = "now";

/// The initial value for the `last_time` field, indicating the loop has not started yet.
pub(crate) const UNINITIALIZED_TIME: f64 = -1.0;