Rust Game development

Open-source Rust projects categorized as Game development

Top 23 Rust Game development Projects

Game development
  1. bevy

    A refreshingly simple data-driven game engine built in Rust

    Project mention: Retro Boy: simple Game Boy emulator written in Rust, can be played on the web | news.ycombinator.com | 2025-03-20

    > I hear a few problems with the audio emulation, (mostly clicks that shouldn't be there)

    Almost anything WASM+Audio seems to do that in browsers today, unless you're really really careful about what you're doing and leverage multiple threads. I think the issue is mostly around single-thread contexts, where it has to switch between playing audio and other things.

    I hit the very same issue myself with Bevy not too long time ago, and tracking this issue which has some further links if you wanna go down a rabbit-hole: https://github.com/bevyengine/bevy/issues/4078

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. egui

    egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native

    Project mention: Egui – An immediate mode GUI written in Rust | news.ycombinator.com | 2024-12-25
  4. pyxel

    A retro game engine for Python

    Project mention: A (not so) small library for terminal based game development | news.ycombinator.com | 2024-07-23

    If pygamelib interests you, you might also be interested in Pyxel:

    https://github.com/kitao/pyxel

  5. SpacetimeDB

    Multiplayer at the speed of light

    Project mention: SpacetimeDB | news.ycombinator.com | 2025-04-09

    SpacetimeDB is open source[1], the open source version doesn't currently have all the features of maincloud, but most of those features are solely for scalability. I've done all of my work on my own local servers. I would even suggest paying for your own server up front until you're ready to scale out. I believe the 4 years is when the license changes to a more open license. And the scalability features on local are coming, they're just not here yet.

    [1] https://github.com/ClockworkLabs/SpacetimeDB

  6. Fyrox

    3D and 2D game engine written in Rust

    Project mention: Fyrox Game Engine – a Rust game engine with a real editor and scripting system | news.ycombinator.com | 2024-04-26
  7. piston

    A modular game engine written in Rust

  8. ggez

    Rust library to create a Good Game Easily

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. Ambient

    The multiplayer game engine

  11. gdnative

    Rust bindings for Godot 3

  12. gdext

    Rust bindings for Godot 4

    Project mention: Godot Rust gdext: GDExtension Rust Game Dev Bindings | dev.to | 2024-08-07

    Another fantastic resource is the example game code in the gdext GitHub repo for a Dodge the Creeps game (which will sound familiar if you have followed the official Godot, GDScript-based, tutorial). You can try building it or just dip into for help to unblock if you get stuck working on your own game.

  13. rivet

    🔩 Serverless for stateful backends (by rivet-gg)

    Project mention: Show HN: Instantly visualize any codebase as an interactive diagram | news.ycombinator.com | 2024-12-27

    This is fun! I’ve come across a few tools like this before and almost dismissed it due to past poor experiences. However, I just diagrammed our startup’s codebase, and it came surprisingly close to our hand-made diagram. I tried customizing it with specific instructions, but the one-generation-per-day rate limit is a bit restrictive.

    For comparison:

    - Hand made diagram: https://github.com/rivet-gg/rivet/blob/d45bf556e903404ab2df0...

    - GitDiagram (no instructions): https://gitdiagram.com/rivet-gg/rivet

  14. rust-sdl2

    SDL2 bindings for Rust

    Project mention: SDL3 new GPU API merged | news.ycombinator.com | 2024-08-29

    It exists, but IMO it's not a good choice.

    First of all, it doesn't support RenderGeometry or RenderGeometryRaw, which are necessary for high-performance 2D rendering. I doubt it will support any of the GPU stuff at this rate, as the geometry rendering is pretty much a prerequisite. Maybe both will land all at once, though. To wit, the relevant issue hasn't seen much activity: https://github.com/Rust-SDL2/rust-sdl2/issues/1180

    Secondly, the abstractions chosen by rust-sdl2 are quite different from those of SDL2 itself. There seems to have been an aggressive attempt by the Rust library authors to make something more Rust-friendly, which maybe has made it more approachable for people who don't know SDL2, but it has IMO made it less approachable for people who do know SDL2. The crate gets plenty of downloads, so maybe it's just me.

  15. specs

    Specs - Parallel ECS (by amethyst)

  16. bevy-cheatbook

    Unofficial Reference Book for the Bevy Game Engine

  17. avian

    ECS-driven 2D and 3D physics engine for the Bevy game engine.

    Project mention: Avian: 3D physics engine for the Bevy game engine | news.ycombinator.com | 2025-03-22
  18. pixels

    A tiny hardware-accelerated pixel frame buffer. 🦀

  19. sprite-dicing

    Cross-engine tool for lossless compression of sprites with identical areas

  20. quilkin

    Quilkin is a non-transparent UDP proxy specifically designed for use with large scale multiplayer dedicated game server deployments, to ensure security, access control, telemetry data, metrics and more.

    Project mention: HAProxy 3.0 Released | news.ycombinator.com | 2024-05-30

    Made for hosting game servers on Kubernetes, and supports session auth, routing, monitoring, and various other features, some of them using prefix bits in UDP packages.

    Also used for DOS protection without the traffic hitting the server.

    Not sure how usable it is but Google actually has a lot of open-source stuff for game hosting on kubernetes with agones + openmatch + quilkin, I am somewhat tempted to play with them at some point.

    [1] https://github.com/googleforgames/quilkin

  21. Coffee

    An opinionated 2D game engine for Rust (by hecrj)

  22. Tetra

    🎮 A simple 2D game framework written in Rust

  23. kira

    Library for expressive game audio.

  24. bevy_game_template

    Template for a Bevy game including CI/CD for web, Windows, Linux, macOS, iOS and Android

  25. notan

    Cross-platform multimedia layer

    Project mention: Notan: Cross-Platform Multimedia Layer | news.ycombinator.com | 2024-08-28
  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Rust Game development discussion

Log in or Post with

Rust Game development related posts

Index

What are some of the best open-source Game development projects in Rust? This list will help you:

# Project Stars
1 bevy 38,976
2 egui 24,454
3 pyxel 16,188
4 SpacetimeDB 14,079
5 Fyrox 8,183
6 piston 4,664
7 ggez 4,384
8 Ambient 3,848
9 gdnative 3,635
10 gdext 3,572
11 rivet 3,381
12 rust-sdl2 2,832
13 specs 2,565
14 bevy-cheatbook 2,077
15 avian 1,982
16 pixels 1,906
17 sprite-dicing 1,384
18 quilkin 1,362
19 Coffee 1,104
20 Tetra 960
21 kira 929
22 bevy_game_template 927
23 notan 894

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that Rust is
the 5th most popular programming language
based on number of references?