Home

Awesome

Macroquad Quickstart

Opinionated template for buiding games in Rust with Macroquad, specfically focused on targeting the web and PC.

🚨 work in progress, scripts best on Linux & macOS currently 🚨

Features / Bugs

Get Started

Use the template feature on GitHub or just download the zip

Dev Tools

In debug builds, <kbd>Shift</kbd> + <kbd>Esc</kbd> quits quickly.

Dev Notes

Deployment

Web

WASM builds can be built and pushed by running:

./release_wasm.sh

Ideally in the future this would push builds for desktop operating systems, create tags, etc., but this works for development.

macOS

macOS uses cargo bundle:

  1. Install cargo bundle: cargo install cargo-bundle
  2. Build the bundle: cargo bundle --release

There's a release_macos.sh script to build and upload a Universal app for macOS (works on both Intel and Apple Silicon Macs).

Windows

Not ideal but functioning

  1. cargo run --release
  2. mkdir win
  3. cp .\target\release\sokoworld.exe .\win\
  4. copy the assets folder into the win dir
  5. zip it up
  6. upload it to itch.io manually

Linux

Run the script:

./release_linux.sh

License

The Macroquad Quickstart template code and assets are released into the Public Domain.