Are we game yet? – A guide to the Rust game development ecosystem

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • gdnative

    Rust bindings for Godot 3

  • femtovg

    Antialiased 2D vector drawing library written in Rust

  • Only tangentially related but if you are looking for a 2d graphics crate peep femtovg https://github.com/femtovg/femtovg

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • rust-mini-games

    Mini games made in Rust

  • Tangentially related - if anyone is new to Rust and wants to see some simple mini text game examples, I've been working on a bunch [0]. It also includes some more complicated text games:

    Asylum - Choose your own adventure style interactive narrative

    Knights and Barbarians - Simple turned based strategy game

    Legend of the Rusty Dragon - Simple adventure game inspired by Legend of the Red Dragon

    [0] https://github.com/Syn-Nine/rust-mini-games

  • cxx

    Safe interop between Rust and C++

  • cxx [1] is a relatively recent effort to enable safe interop with C++.

    Mozilla has also published information on how they are rewriting components in Rust and integrating them into the Firefox codebase, though they were primarily going through C apis.

    [1] https://github.com/dtolnay/cxx

  • cppmm

    A prototype generator for creating customized C and Rust bindings to C++ libraries

  • It is called C++-- [1].

    At this time we only target the VFX C++ ecosystem but I'd be surprised if people wouldn't use (and extend) this to cover a broader set of C++ libs.

    Maybe you can give an example of an C++ API that you deem not "translatable to C"?

    [1] https://github.com/vfx-rs/cppmm

  • bevy

    A refreshingly simple data-driven game engine built in Rust

  • You might want to look at bevy, there are some great tutorials available for it: https://bevyengine.org/

  • wgpu

    Cross-platform, safe, pure-rust graphics api.

  • You should check out wgpu for rendering https://github.com/gfx-rs/wgpu.

  • SaaSHub

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

    SaaSHub logo
  • love

    LÖVE is an awesome 2D game framework for Lua.

  • If you want to experience the high level game dev fun, don't use Rust, I recommend look at

    [0] love2d

    [1] PICO-8

    [2] Clickteam Fusion

    [3] Godot

    [4] Stencyl

    [0] https://love2d.org/

  • rustc_codegen_cranelift

    Cranelift based backend for rustc

  • Strictly speaking rustc has a dependency on LLVM, which is in C++, but you could use the rustc_codegen_cranelift backend [1] and get pretty much everything to be pure Rust. Unless you count the libc dependency, in which case, um, I guess you could use relibc [2]? And if you think relying on OS syscalls implemented in not-Rust is cheating, then you could just use Redox directly ;)

    [1] https://github.com/bjorn3/rustc_codegen_cranelift

    [2] https://github.com/redox-os/relibc

  • shotcaller

    Discontinued A moddable RTS/MOBA game made with bracket-lib and minigene.

  • https://github.com/amethyst/shotcaller

    We’re happy to help any newcomers along on our Discord: https://discord.gg/qvJyTYM

  • nico

    a Game Framework in Nim inspired by Pico-8.

  • Some more fun high level frameworks:

    - HaxeFlixel (https://haxeflixel.com/) (Extremely portable)

    - Phaser (https://phaser.io/) (HTML5 framework)

    - Nico (https://github.com/ftsf/nico) (The PICO-8 API in Nim)

    - Pixel Vision 8 (https://pixelvision8.github.io/PixelVision8Website/) (Another fantasy console)

  • veloren

  • Since I haven't seen it mentioned in the comments, Veloren is a FOSS cube world inspired game that's developed entirely in Rust. Looks simply stunning and I have high hopes for it.

    https://veloren.net/

    https://gitlab.com/veloren/veloren

  • TIC-80

    TIC-80 is a fantasy computer for making, playing and sharing tiny games.

  • A bunch of other comments threw out the Pico-8 I wanted to recommend the Tic80 as an open source alternative.

    https://tic80.com/

    I just started playing around with it and honestly, I like it a lot.

    I've never used Pico-8 before, but from what I understand the Tic80 is pretty much the same, but with about twice the 'specs' of the pico-8.

    The community is a lot smaller, but it'd be awesome to see it get more support.

    It gives you a nice integrated environment for code, art, SFX and music, with limitations that make it more likely to avoid feature scope and actually letting a solo Dev finish a full game in a reasonable time frame.

  • cargo-html

    create self-contained HTML programs

  • Neat! I used these as an excuse to play with / work on WASM build tools / WASI interop. I've uploaded a built version to github so you can play them directly in your browser:

    https://github.com/MaulingMonkey/cargo-html/wiki/Examples#ru...

    I've sent a couple of PRs for things I found useful - feel free to ignore them if they're not to your liking ;)

  • autocxx

    Tool for safe ergonomic Rust/C++ interop driven from existing C++ headers

  • True, Google is at least trying to make it easier to bind to C++ [0]. It's still pretty experimental, though.

    0: https://github.com/google/autocxx

  • SaaSHub

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

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Ggez tutorial

    4 projects | /r/rust_gamedev | 16 Jun 2021
  • Ask HN: Yo wants to build a game, I'm lost. What can I do?

    20 projects | news.ycombinator.com | 17 Jan 2024
  • ECS, Finally

    4 projects | news.ycombinator.com | 30 Dec 2023
  • “This Is a Disaster:” Game Developers Scramble to Deal with Unity’s New Fees

    2 projects | news.ycombinator.com | 12 Sep 2023
  • Non web-based crossplatform GUI frameworks focused on security

    2 projects | /r/rust | 27 Jun 2023