1 unstable release
0.1.0 | Nov 26, 2020 |
---|
#761 in Games
66 stars & 2 watchers
11KB
240 lines
⚠️ this example is currently out of date. bevy_networking_turbulence is no longer maintained, so a rewrite with another network library is required. contributions welcome!
arugio
a bevy multiplayer browser game example
made possible with bevy, mrks-its/bevy_webgl2 and smokku/bevy_networking_turbulence
requirements
cargo install wasm-bindgen-cli
cargo install basic-http-server
run server
cd arugio_server
cargo run --release
run client
cd arugio_client
cargo build --release
cd ..
wasm-bindgen --no-typescript --out-dir dist --target web ./target/wasm32-unknown-unknown/release/arugio_client.wasm
basic-http-server dist
Dependencies
~50–68MB
~1M SLoC