Skip to content
A simple 2D web game built with Rust and WebAssembly to celebrate the OSOCO's 15th anniversary.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
html-assets
js
src
src_assets
.gitignore
Cargo.lock
Cargo.toml
LICENSE
README.md
build.rs
build.sh

README.md

OSOCO Xmas 2018 Game

A simple 2D game to celebrate the OSOCO's 15th anniversary.

The game is built in Rust and compiled to WebAssembly.

It's a forked version of the SergiusIW's chirperjax game using the Gate and Collider crates.

Play Online

You can play online to this game at the following URL: https://osoco.github.io/15years-retro-game.

Building

To be able to build the game it's required a Rust environment, so you should install Rust:

curl https://sh.rustup.rs -sSf | sh

Once you have Rust installed you can proceed to build the project with the following script:

$ ./build.sh

The previous script will add the wasm32-unknown-unknown Rust compiler target and build the game. Also it will generate an html directory with an index.html file and other assets.

Finally, try to open the html/index.html file in your web browser.

License

This game is licensed by OSOCO under the GNU General Public License v3.0.

The assets, found in the src_assets/ directory, are licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 License.

The background music is "Boss Fight" by Patric de Arteaga (https://patrickdearteaga.com/chiptune-8-bit-retro/).

You can’t perform that action at this time.