jamesmcm / joust.rs

A simple Joust-like game written in Rust and WebAssembly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

joustmp

Multiplayer Joust clone using wasm-bindgen and canvas in Rust

Building

To run with live changes:

cargo watch -i .gitignore -i "pkg/*" -s "wasm-pack build"
cd www
npm run start
firefox localhost:8080

To build static page (for export):

wasm-pack build --target=web
firefox www/index_static.html

You can then copy the files in pkg/ and www/index_static.html to deploy the game on a static HTML page.

Progress

2020-05-20

Gameplay

About

A simple Joust-like game written in Rust and WebAssembly

License:GNU Affero General Public License v3.0


Languages

Language:Rust 87.5%Language:HTML 8.6%Language:JavaScript 3.5%Language:Shell 0.4%