Important steps to take before you'll be able to contribute to this project.
-
Install Visual Studio Code.
-
Install all of the recommended extensions.
-
Install rust:
rustup toolchain install stable rustup toolchain install nightly
-
Install the wasm target:
rustup target add wasm32-unknown-unknown --toolchain stable rustup target add wasm32-unknown-unknown --toolchain nightly
-
Install llvm tools:
rustup component add llvm-tools-preview --toolchain stable rustup component add llvm-tools-preview --toolchain nightly
-
Install the following cargo applications:
cargo install cargo-watch cargo install miniserve --locked cargo install -f wasm-bindgen-cli
At this point you should be good to go. See Developing for launching, debugging and creation.
Note: If no tasks start, just start the miniserve task manually and then trash the task. VSC will alert you of the available tasks and start them from then on automatically.
Visual Studio Code will automatically build and serve the web version of the game.
- Hitting F5 will run the game.
- Check the
Miniserve
terminal tab for the URL to view the game in the browser.
Copyright © 2022 Zageron (@zageron), Fission