Skip to content

RustyVolley/RustyVolleySrc

Repository files navigation

CircleCI

RustyVolley

What is this?

A rewrite of Blobby Volley 2 written in Rust, a blazingly fast, memory safe, thread safe language. This project can be compiled to native application and also Web Assembly, a binary instruction format for a stack-based virtual machine.

That is too much buzzwords for me, show me some stuff already!

Here you go!

How to play?

Use the mouse in the menu. To control player 1, use W, A and D. To control player 2, use the arrow keys.

Compiling and running it

1. Get the tools

You need Rust nightly to compile this beauty:

rustup toolchain install nightly-2019-12-20
rustup default nightly-2019-12-20

Also, you will need cargo-web if you want to run it in your web browser:

cargo install cargo-web --version 0.6.26 --locked

2. Compile and run the game

To run it in with WebAssembly do:

cargo web start

Then go to http://[::1]:8000 to see it in action.

If you only want to generate the files for building a web release do:

cargo web deploy --release

Also, you can run it in a desktop window with:

cargo run --release