Skip to content

A starter template project for Gamercade, including usage of the gamercade_rs helper crate.

License

Notifications You must be signed in to change notification settings

gamercade-io/rust_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  1. If you don't already have it, install the wasm target by running rustup target add wasm32-unknown-unknown.
  2. Invoke cargo build or cargo build --release as you would normally. This project will default to building for target wasm32-unknown-unknown
  3. If successful, the output will be in ./target/wasm32-unknown-unknown/, inside of debug or release respectively.
  4. The file name will be from Cargo.toml. Which in this case, is rust_template.wasm
  5. You can then bundle this .wasm with the editor to generate playable .gcrom files. Learn more here

About

A starter template project for Gamercade, including usage of the gamercade_rs helper crate.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages