euv-engine 0.28.0

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
/// The default duration of a single animation frame in seconds.
pub(crate) const SPRITE_DEFAULT_FRAME_DURATION: f64 = 0.1;

/// The row index of the top patches in a nine-slice grid.
pub(crate) const NINE_SLICE_ROW_TOP: usize = 0;

/// The row index of the middle patches in a nine-slice grid.
pub(crate) const NINE_SLICE_ROW_MIDDLE: usize = 1;

/// The row index of the bottom patches in a nine-slice grid.
pub(crate) const NINE_SLICE_ROW_BOTTOM: usize = 2;

/// The column index of the left patches in a nine-slice grid.
pub(crate) const NINE_SLICE_COL_LEFT: usize = 0;

/// The column index of the center patches in a nine-slice grid.
pub(crate) const NINE_SLICE_COL_CENTER: usize = 1;

/// The column index of the right patches in a nine-slice grid.
pub(crate) const NINE_SLICE_COL_RIGHT: usize = 2;