#archetypes #roast2d #key-code #brick #winit #api

roast2d

Roast2D is a homebrew 2D game engine

7 releases

0.1.0 Feb 27, 2025
0.0.12 Dec 20, 2024
0.0.10 Oct 27, 2024
0.0.8 Sep 29, 2024

#589 in Game dev


Used in 2 crates

MIT license

195KB
3.5K SLoC

Roast2D

Crates.io Docs CI

Roast2D is a rapid development 2D game engine written in Rust.

why Roast2D was made

Features

  • Poor man's ECS, a lightweight ECS system without archetype
  • Simple and intuitive 2D graphics API
  • Multi-platform (with wgpu and winit)

Examples

  • A copy of the classic brick shows the basic usage

Usage

Run example:

cargo run --example brick

Add roast2d to Rust project:

cargo add roast2d

License

The source code is licensed under MIT.

Dependencies

~14–49MB
~859K SLoC