Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 23, 2024. It is now read-only.

"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

NotificationsYou must be signed in to change notification settings

heroiclabs/fishgame-macroquad

Repository files navigation

fishgame

"Fish Game" for Macroquad is an online multiplayer game, created as ademostration ofNakama, an open-source scalable gameserver, usingRust programming language andtheMacroquad game engine.

Playing the game online

The latest web build for online play is availablehere.

Playing the game from source

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

Nakama server

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.

Running the game:

Native PC build:

cargo run --release

from this repo root.

Building HTML5 build:

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp