A simple scrolling game written in Rust!
Example Gameplay |
---|
demo.mov |
↔️ Use arrow keys to move- ⭐️ Collect stars to accelorate forward
- ☄️ Surf, grind and dodge asteroids
- 🏆 Reach top to win!
# Step 1: Install Rust
# https://www.rust-lang.org/tools/install
# Step 2: Cone the project
git clone https://github.com/asleepace/star-cat.git
# Step 3: Build, run and play!
cargo run
Start a local http server with the following command:
wasm-pack build --target web
cd www
npm install
npm run build
npm run start
now it should be running at http://localhost:8080!
Run the following command to create the WASM binary:
wasm-pack build --target web
cd www && npm run start