"Fish Game" for Macroquad is an online multiplayer game, created as a demostration of Nakama, an open-source scalable game server, using Rust programming language and the Macroquad game engine.
The latest web build for online play is available here.
Depedencies:
The main depdency: the rust compiler.
To get it, follow rustup.rs instructions.
On web, windows and mac os no other external depdendecies are required. On linux followed libs may be required:
apt install libx11-dev libxi-dev libgl1-mesa-dev
note that nakama networking is not yet supported on PC and PC build is intenteded only for single player dev builds
cargo run --release
from this repo root.
cargo build --target wasm32-unknown-unknown --release
cp target/wasm32-unknown-unknown/release/fishgame.wasm web/fishgame.wasm
wasm-strip web/fishgame.wasm
To serve the web build some web server will be required. One of the options: devserver
cargo install devserver
cd web
devserver .
And than open http://localhost:8080