rpgx-wasm 0.1.4

Wasm driver for the RPGX engine
Documentation

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.