Skip to content

ibaryshnikov/sf-workshop-2019-08-28

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust and WebAssembly workshop

Let's build a 2d shooter using canvas, wasm-bindgen and wasm-pack

Environment setup

cargo install wasm-bindgen-cli --version 0.2.83
# optionally, https static server
cargo install https

Building

cargo build --release --target wasm32-unknown-unknown
wasm-bindgen --out-dir pkg --target web ./target/wasm32-unknown-unknown/release/shooter.wasm

Running

http

alternatively

python -m SimpleHTTPServer

then navigate to host:port

About

Materials for WebAssembly workshop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published