A modular game engine written in Rust
Alternatives To Piston
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Godot59,775916 hours ago4September 15, 20229,173mitC++
Godot Engine – Multi-platform 2D and 3D game engine
Libgdx21,2724941842 days ago43May 11, 2022285apache-2.0Java
Desktop/Android/HTML5/iOS Java game development framework
3d Game Shaders For Beginners13,825
6 months ago15bsd-3-clauseC++
🎮 A step-by-step guide to implementing SSAO, depth of field, lighting, normal mapping, and more for your 3D game.
a month ago1mit
:video_game: :pencil: A list of Game Development resources to make magic happen.
9 days ago105apache-2.0C++
Hazel Engine
Engine8,2152815 hours ago129August 30, 2022510mitJavaScript
Fast and lightweight JavaScript game engine built on WebGL and glTF
2 days ago88otherC++
Lightweight and modular C++11 graphics middleware for games and data visualization
2 months ago72mitC++
Game engine
Piston4,281512522 months ago78November 03, 202187mitRust
A modular game engine written in Rust
6 months ago3C++
Open-source, cross-platform, C++ game engine for creating 2D/3D games.
Alternatives To Piston
Select To Compare

Alternative Project Comparisons


Build Status Crates.io Crates.io

A modular game engine written in Rust

Maintainers of Piston core libraries: @bvssvni

Dive into the world of Piston

Start new project with Piston

You should know how to build "hello world" with Rust, see http://www.rust-lang.org/.

Drawing a red rectangle

Add piston_window to your Cargo.toml, for example:

piston_window = "*"

In "src/main.rs", type the following code:

extern crate piston_window;

use piston_window::*;

fn main() {
    let mut window: PistonWindow =
        WindowSettings::new("Hello Piston!", [640, 480])
    while let Some(event) = window.next() {
        window.draw_2d(&event, |context, graphics, _device| {
            clear([1.0; 4], graphics);
            rectangle([1.0, 0.0, 0.0, 1.0], // red
                      [0.0, 0.0, 100.0, 100.0],

Use cargo run to start the application. It should clear the screen in white color and draw a red rectangle.



The Piston project is a large collaboration among many developers. There are libraries for 2D, 3D, event programming, AI, image processing etc. By sharing the maintenance, we get more time to build new stuff.

Piston is as much a community project as it is a collection of libraries. Writing and maintaining code is expensive, and by sharing this cost we reach our goals faster. We believe that seeking personal goals and ambitions, while helping each other, results in higher quality.

  • Our main goal is to free up time for maintainers, and the people involved
  • ... such that we can create new amazing stuff and reach our personal goals
  • ... by making more people use Rust for game development and become engaged in open source

In addition, we do research or plan to in the following areas:

Dependency graph


Popular Video Game Projects
Popular 3d Graphics Projects
Popular Games Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Game Engine