Skip to content

deadalusai/asteroids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asteroids

Requires nightly Rust. Play it in the browser.

Running

Run locally:

cargo run

Run in browser:

rustup target install wasm32-unknown-unknown
cargo install wasm-server-runner
cargo run --release --target wasm32-unknown-unknown

Compiling for web

Run wasm-bindgen to generate all the files need to run in the browser.

rustup target install wasm32-unknown-unknown
cargo install wasm-bindgen-cli
cargo build --release --target wasm32-unknown-unknown
wasm-bindgen --target web --out-dir ./target/web ./target/wasm32-unknown-unknown/release/asteroids.wasm

Reference

About

Asteroids clone written using Bevy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages