Awesome
Gamercade Rust Template
A way to get up and running with Gamercade quick and easy. Comes bundled with the gamercade_rs crate.
This project is already configured to output the .wasm
binaries via the .cargo/config
file.
Learn more about Gamercade, or head over to the main project repository: gamercade_console
How to build a .wasm File:
- If you don't already have it, install the wasm target by running
rustup target add wasm32-unknown-unknown
. - Invoke
cargo build
orcargo build --release
as you would normally. This project will default to building for targetwasm32-unknown-unknown
- If successful, the output will be in
./target/wasm32-unknown-unknown/
, inside ofdebug
orrelease
respectively. - The file name will be from
Cargo.toml
. Which in this case, isrust_template.wasm
- You can then bundle this
.wasm
with the editor to generate playable.gcrom
files. Learn more here