https://github.com/osoco/15years-retro-game
A simple 2D web game built with Rust and WebAssembly to celebrate the OSOCO's 15th anniversary.
https://github.com/osoco/15years-retro-game
game rust webassembly
Last synced: about 2 months ago
JSON representation
A simple 2D web game built with Rust and WebAssembly to celebrate the OSOCO's 15th anniversary.
- Host: GitHub
- URL: https://github.com/osoco/15years-retro-game
- Owner: osoco
- License: gpl-3.0
- Created: 2018-12-04T11:57:27.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-28T21:32:48.000Z (about 7 years ago)
- Last Synced: 2025-01-16T05:26:28.095Z (over 1 year ago)
- Topics: game, rust, webassembly
- Language: JavaScript
- Homepage: https://osoco.github.io/15years-retro-game/
- Size: 5.58 MB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/SergiusIW/chirperjax) using the
[Gate](https://crates.io/crates/gate) and [Collider](https://crates.io/crates/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](https://www.gnu.org/licenses/gpl-3.0.en.html).
The assets, found in the `src_assets/` directory, are licensed under the
[Creative Commons Attribution-NonCommercial-ShareAlike 4.0 License](https://creativecommons.org/licenses/by-nc-sa/4.0/).
The background music is "Boss Fight" by Patric de Arteaga (https://patrickdearteaga.com/chiptune-8-bit-retro/).