Default backend for Selene game engine.
Dependencies
moon add Milky2018/selene_webgpuoptions(
overrides: [
"Milky2018/selene_webgpu/platform_window",
"Milky2018/selene_webgpu/platform_input",
"Milky2018/selene_webgpu/platform_render",
"Milky2018/selene_webgpu/platform_audio",
"Milky2018/selene_webgpu/platform_asset_io",
],
)moon build --target js --release
python3 -m http.server 8000type Audiotype WebGpuBackendfn play_audio(audio_path~ : String, volume~ : Double, speed~ : Double, loop_~ : Bool, paused~ : Bool) -> Intfn register_gamepad_events(gamepads : Set[Gamepad], buttons : Set[GamepadButtonInput], axes : Map[GamepadAxisInput, Double]) -> Unitfn register_mouse_events(mouse : Mouse, mouse_movement : MouseMovement, mouse_wheel : MouseWheel) -> UnitDefault backend for Selene game engine.
Dependencies