Skip to content

Spector-Studios/rust_game

Repository files navigation

Rust Game

Build and Deploy

Based on the book Hands-on Rust by Herbert Wolverson, with following changes:

  • Using Macroquad for rendering
  • Using Bevy for ECS
  • Touch controls (currently no keyboard controls are present)

(This has project primarily targets mobile platforms and may not work on desktop, even the web build)

Building

Android

Assuming Android SDK and NDK are setup,

./gradlew assemble

WASM

cd rustlib/rust_workspace
./wasm_build.sh

This will produce a folder named dist that should be hosted from a http server. To play locally, run python -m http.server from that folder.

Credits

About

Based on the book Hands-on Rust by Herbert Wolverson

Topics

Resources

License

Stars

Watchers

Forks