- Notifications
You must be signed in to change notification settings - Fork28
"Fish Game" for Macroquad is an online multiplayer game, created as a demonstration of Nakama, an open-source scalable game server, using Rust-lang and the Macroquad game engine.
License
heroiclabs/fishgame-macroquad
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
"Fish Game" for Macroquad is an online multiplayer game, created as ademostration ofNakama, an open-source scalable gameserver, usingRust programming language andtheMacroquad game engine.
The latest web build for online play is availablehere.
Depedencies:
The main depdency: the rust compiler.
To get it, followrustup.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 libasound2-dev
To run the Fish game locally Nakama server is required.
The easiest way to setup a Nakama server locally for testing/learning purposes isvia Docker, and in fact, there is adocker-compose.yml
included in the source code of "Fish Game" (/docker/docker-compose.yml).
So, if you haveDocker Compose installed on your system, all you need to do is navigate to "/docker" directory and run:
docker-compose up
This will automatically pull all Fish game .lua modules and will gives a ready to connect nakama server.
cargo run --release
from this repo root.
cargo build --target wasm32-unknown-unknown --releasecp target/wasm32-unknown-unknown/release/fishgame.wasm web/fishgame.wasmwasm-strip web/fishgame.wasm
To serve the web build some web server will be required. One of the options:devserver
cargo install devservercd webdevserver .
And than openhttp://localhost:8080
About
"Fish Game" for Macroquad is an online multiplayer game, created as a demonstration of Nakama, an open-source scalable game server, using Rust-lang and the Macroquad game engine.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.