Coder Social home page Coder Social logo

annekitsune / fishgame-macroquad Goto Github PK

View Code? Open in Web Editor NEW

This project forked from heroiclabs/fishgame-macroquad

0.0 1.0 0.0 1.93 MB

"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.

Rust 95.15% Lua 4.74% Shell 0.11%

fishgame-macroquad's Introduction

"Fish Game" for Macroquad

fishgame

"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.

Playing the game online

The latest web build for online play is available here.

Playing the game from source

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

Running the game:

Native PC build:

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.

Building HTML5 build:

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

fishgame-macroquad's People

Contributors

annekitsune avatar not-fl3 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.