macroquad is a lightweight, easy-to-use game library for the Rust programming language, offering developers a relatively simple and streamlined path to build games across platforms. The library is heavily inspired by simpler game frameworks (like raylib), but brings the ergonomic and safety features of Rust to 2D — and some minimal 3D — development. With Macroquad, you don’t need to worry about low-level graphics plumbing: it handles window and input management, rendering, UI, and more, letting you focus on game logic. A strength of Macroquad is its cross-platform reach: it supports desktop (Windows, Linux, macOS), web (via WebAssembly / HTML5), and mobile (Android, iOS) without requiring platform-specific code. Compilation is relatively fast with minimal dependencies, so small projects or prototypes can spin up quickly. Because it’s “batteries included” for common tasks (rendering, drawing shapes, text, basic UI, game loop), Macroquad works well for rapid prototyping.

Features

  • Cross-platform support across desktop, web (WASM/HTML5), Android, and iOS
  • Efficient 2D rendering with automatic geometry batching for good performance
  • Built-in immediate-mode UI library (for menus, HUDs, debug overlays, etc.)
  • Minimal dependencies and fast compile/build times, good for small or lightweight projects
  • Single-codebase approach — no need for platform-dependent defines or boilerplate when targeting multiple platforms
  • Simple API and ease of use: good for quick prototypes, small games, or developers learning Rust/game dev

Project Samples

Project Activity

See All Activity >

Categories

Game Engines

License

Apache License V2.0

Follow macroquad

macroquad Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of macroquad!

Additional Project Details

Operating Systems

Android, Apple iPhone, Linux, Mac, Windows

Programming Language

Rust

Related Categories

Rust Game Engines

Registered

2025-12-01