rpgx-wasm

Crates.iorpgx-wasm
lib.rsrpgx-wasm
version0.1.5
created_at2025-06-17 13:48:35.458278+00
updated_at2025-06-27 09:28:15.609021+00
descriptionWasm driver for the RPGX engine
homepagehttps://github.com/LorenzoRottigni/rpgx
repositoryhttps://github.com/LorenzoRottigni/rpgx
max_upload_size
id1715775
size43,961
Lorenzo Rottigni (LorenzoRottigni)

documentation

https://docs.rs/rpgx-wasm

README

RPGX WASM Driver

This package provides WebAssembly (WASM) bindings for the RPGX game engine, enabling integration with web-based frontends such as Node.js and Vue.js.

Prerequisites

Install the target and CLI:

rustup target add wasm32-unknown-unknown
cargo install --locked wasm-bindgen-cli

Building

Build the WASM driver:

make build-wasm-driver

Bundling for Playgrounds

To generate the WASM driver and Node.js loader (used by both Node.js and Vue.js playgrounds):

make build-js-driver

Usage

Import the generated WASM module in your JavaScript/TypeScript frontend as per the wasm-bindgen documentation.

License

RPGX is licensed under the MIT License.

Commit count: 181

cargo fmt