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
9
10
11
/// The JavaScript event property name for the key code on keyboard events.
pub(crate) const INPUT_KEY_CODE_PROPERTY: &str = "code";

/// The JavaScript event property name for the mouse button on mouse events.
pub(crate) const INPUT_MOUSE_BUTTON_PROPERTY: &str = "button";

/// The JavaScript event property name for the client X coordinate.
pub(crate) const INPUT_CLIENT_X_PROPERTY: &str = "clientX";

/// The JavaScript event property name for the client Y coordinate.
pub(crate) const INPUT_CLIENT_Y_PROPERTY: &str = "clientY";