r/rust_gamedev • • Jan 28 '25

Are We Game Yet? - new features/call for contributions

97 Upvotes

For those who are unfamiliar: Are We Game Yet? is a community-sourced database of Rust gamedev projects/resources, which has been running for over eight years now (?!).

For the first time in a while, the site has had some quality-of-life upgrades over the past few weeks, so I thought I'd do a quick announcement post:

  • You can now sort the crate lists by various categories, such as recent downloads or GitHub stars. This has been requested for a long time, and I think it makes the site much more useful as a comparison tool!
  • We now display the last activity date for Git repos, so you can see at a glance how active development is. Thank you to ZimboPro for their contributions towards this.
  • The site is now more accessible to screen readers. Previously, they were unable to read any of the badges on the crates, as they were displayed via embedded images.
  • Repos that get archived on GitHub will now be automatically moved to the archive section of the site. Thank you to AngelOnFira for building the automation for this!

I'd also like to give a reminder that Are We Game Yet? is open source, and we rely on the community's contributions to keep the site up to date with what's happening in the Rust gamedev ecosystem (I myself haven't had as much time as I'd like for gamedev lately, so I'll admit to being a bit out of the loop)!

Whether it's by helping us with the site's development, raising PRs to add new crates to the database, or just by creating an issue to tell us about something we're missing, any contribution is very much appreciated 😊

We'd also welcome any feedback on the new features, or suggestions for changes that would make the site more useful to you.

Crossposted to URLO here.


r/rust_gamedev • • 1d ago

Fog and rope physics in my Rust 2D engine

46 Upvotes

Finally happy with how the fog and rope physics are handled in the game I've been working on, it's built with Rust and wgpu. The fluids use a 2D stable fluids solver in WGSL, and ropes use Verlet integration w/ fixed length links. Would love to hear what you think :)


r/rust_gamedev • • 5h ago

oxijolt update: prebuilt binaries, wasm32 and batch body ops (safe Jolt Physics bindings for Rust)

1 Upvotes

A month and a half ago I posted oxijolt 1.0 here, safe Rust bindings to Jolt Physics 5.6. Since then it got six minor releases, so a short update on what changed.

Prebuilt binaries. The biggest practical one. Until now the crate compiled Jolt from source, which meant CMake and a C++ toolchain on every machine. Since 1.2 the build script downloads a prebuilt static library for your target and checks it against a sha256 recorded in the crate. Falls back to building from source if nothing matches. Windows (MSVC), Linux (glibc 2.35+), macOS (aarch64).

wasm32. As of 1.6 there is a prebuilt target for wasm32-unknown-unknown, so browser builds work without a local emscripten dance. This was the most requested thing after 1.0.

Batch body operations. Creating or removing bodies one by one takes a broad-phase update per body. New add_bodies / remove_bodies do it in one batch with a single broad-phase subtree build, in deterministic id order. Plus create_body_detached if you want to prepare bodies before they enter the world.

Live character tuning. CharacterMut can now change settings on a live character (mass, slope angle, shape, supporting volume and more) without recreating it and losing contacts and ids. set_shape even tests whether the new shape fits and refuses if it does not.

Queries. cast_ray_all and cast_shape_all return every hit sorted by fraction, not just the closest one. QueryFilter::body_filter takes a closure over BodyId, so you can filter bodies inline in any query.

Plus a pile of smaller things: deactivate_bodies (put a list of bodies to sleep in one call), Shape::mass_properties, Shape::local_bounds, active_body_states for reading all awake bodies under one lock.

Everything keeps the same rules as 1.0: every call validates its inputs, errors change nothing, and the determinism tests still pass bit for bit across thread counts.

Where it runs in practice: my minesweeper-on-a-living-sea game (posted here earlier) uses oxijolt in the browser build, buoyancy and all, on wasm32. Playable at https://pockerhead.github.io/rune-minesweeper/, source at https://github.com/pockerhead/rune-minesweeper

And a teaser: I'm building a showcase game around the library, a city sandbox with destructible buildings (video attached, that's real Jolt debris, not baked animation). The destruction and buoyancy systems from it will ship as a Bevy plugin, fully open source on GitHub.

Crate: https://crates.io/crates/oxijolt Repo: https://github.com/pockerhead/oxijolt

If you tried it after the 1.0 post, I'd like to hear what broke or what is missing. The issue tracker is open and half of these features came from it.


r/rust_gamedev • • 21h ago

question What exactly happened to LogLog Games?

9 Upvotes

For those who don't know LogLog Games article "Leaving Rust Gamedev"

I'm not a Rust expert; I come from the C++ world. I know the basics of compilers, but I don't understand much of the technical language used in the article.

How is it that they write over 100,000 lines of Rust code and then abandon all that technology for the "greater" iteration offered by C#?.

This makes me doubt whether game development with Rust is worthwhile. Rust has been around for over a decade and I still haven't seen a "Greatest Hit" game; the only somewhat popular project I've come across is Veloren and yet its development remains quite slow, the development of the Bevy Engine is also proving incredibly slow, I know that open-source projects usually progress slowly, but Godot Engine uses C++ and I've seen many more iterations faster than Bevy, even though they have almost the same popularity.

My question is, can ambitious games be made without Rust's friction killing you along the way? Are LogLog Games complaints justified, or are they just excuses to blame the tool instead of themselves?.


r/rust_gamedev • • 21h ago

My AI agents passed every check while the water was broken: a retrospective from my space-frontier adventure sim (Rust + Bevy)

Post image
0 Upvotes

I build my space-frontier adventure sim mostly through a pipeline of AI agents. I write the tasks, they write the code, I look at the frames and decide. Most of the time it works. This week the frames were the only part of the pipeline that told the truth.

I started on visuals and went to polish the water. I went under to see it myself. At -52 m the star dome was right above me and the "atmosphere" sat under my feet. Underwater the game had switched the sky off. Not dimmed or tinted, just gone, with space and stars above me.

The code behind that answered one question: is the camera in water or in air? At the surface it was right every time. At -52 m it answered "air".

Green checks, broken water

Every automated check was green. The water in the game was broken: milky white from some angles, invisible when the camera skimmed the surface, foam too thick.

The cause sat in the foundation. The code that tells the camera where the ground is treated the planet as a flat plane. In a game about round planets. The error was about half a chunk of terrain across.

The first fix held for 1.5-2 m below the water line, then flipped back.

The auto-checks missed it because they rendered water from one angle only. Nobody looked straight down at a river, at a lake, or at a beach from the side.

My favorite part: one agent's self-check pointed at an environment variable that nothing in the code reads. It reported success for a setting that had no effect. The next agent, who actually read the code, admitted it.

To be fair, the agents reproduced my bug report pose exactly: camera 0.32 m above the seabed. Then it turned out my own screenshot was taken with collision off, about a meter inside the ground. The pose was accurate. The floor was not.

The bill

One QA agent burned about 700M tokens on this epic. Useful output: roughly 0.25%. One piece of it alone took 507 calls at ~292k average context, 148M tokens. I pulled that agent off QA.

The fix was smaller than the bug

The real fix did not build a better way to decide whether the camera is underwater. It removed the need for one.

The atmosphere is drawn from an origin point. Underwater that point sat inside the planet and the sky went out. Now any origin between half the planet radius and the radius gets pushed back onto the surface:

p = p * (R + 0.001) / |p| for 0.5R <= |p| < R

Five places in the shaders, plus one CPU copy of the same rule. No new state that says "this camera is underwater now".

After the fix: before/after frames at -49, -141 and -135 m on two planets. A full scan of the planet floor (237,000 chunks) found water at -143.28 m, which my manual check in 8 directions never found.

Still broken

The underwater atmosphere is rebuilt and waits for me to look at three frames. The water shader gets rewritten from scratch after that. The ground check, the flat planet one, is still broken. Separate task.

Green means the checks I wrote passed. Nothing about how the game actually runs. I still look at the frames myself

Screenshot from the lagoon level with the debug grid, water is transparent now:

Devlog with frames and numbers: https://x.com/HeadPocker40580


r/rust_gamedev • • 1d ago

wgpu v31 has been released!

Thumbnail
reddit.com
15 Upvotes

r/rust_gamedev • • 1d ago

Ported my voxel physics project from Unity3d to Rust

Thumbnail
gallery
20 Upvotes

And turning it into a space game set in a real-time solar system. Planets and moons move along their orbits, and gravity from the Sun and nearby bodies acts on your ship during flight. Thrust and inertia govern how you maneuver in vacuum. On atmospheric approach, drag depends on the density of the air, the shape of your ship, and its orientation to the airflow.

Ships and buildings are built from destructible voxels, with selected interior fittings modeled down to 1.5625 cm and damage cut surfaces rendered at resolutions down to 6.25 cm. Impacts can crush material, breach a hull, or tear away whole sections. The structural solver uses material stiffness to calculate elastic strain and tracks the stresses that develop as impact loads travel through connected sections. When a connection fails, the load shifts to the structure that remains, and detached pieces can cause further damage.

The custom sound engine responds to the air simulation, which tracks pressure in each ship compartment. A hull breach changes both the airflow and the routes sound can take through the ship. Escaping air produces a roar driven by the pressure difference and the size of the opening. As a room loses pressure, its acoustics change. Impact vibrations can travel through the hull and radiate sound into compartments that retain air.

The custom real-time ray tracer gives the game’s pixel-art world dynamic shadows, reflections, and light transmission through cockpit glass. The atmosphere system models how gases and aerosols scatter sunlight from orbit down to the surface. On descent, volumetric fog, haze, and dust scatter light and can obscure terrain on approach.

No AI-generated assets are used (well, no assets are used at all, every diegetic sound is generated using physics, every poorly-made voxel ship was made by me)

Uses Rapier3d (custom fork with bug fixes), wgpu, egui


r/rust_gamedev • • 2d ago

I'm building a survival game in rust underneath my own engine. Over 8km of render distance. With 3 hours of soundtrack (so far)

83 Upvotes

Game is a survival rpg btw :) feel free to skip around i didn't put any type of hooks in there. just a quick walk around.


r/rust_gamedev • • 1d ago

question I maintain a Rust library for 2D polygons. Which of these ideas would help your project?

Post image
0 Upvotes

I maintain iOverlay, an open-source Rust library for merging and clipping polygons.

I'm considering applying for an NLnet grant. The image show 8 ideas I’m choosing from. Some of them a new features the others focus on speed or explaining how the algorithm works.

Which number would you pick, and what would you use it for?

I'd love to hear from anyone who works with polygons. If your biggest problem is missing from the list, tell me about that too.

I'm collecting feedback through December 20. Full list and examples on GitHub


r/rust_gamedev • • 1d ago

I regret rewriting my MMO in Rust

Thumbnail
youtu.be
0 Upvotes

r/rust_gamedev • • 3d ago

Fanalor Engine 0.4: a 2D engine in Rust on wgpu, with an editor, web export, and netcode

Post image
9 Upvotes

Fanalor Engine is an open-source 2D game engine in Rust, built on wgpu and winit, MIT licensed, currently at 0.4. 3D is planned next and is not in the tree yet.

Games are ordinary Rust crates. The editor loads the game library and hot-reloads it mid-play. cargo xtask dist packages a desktop build; cargo xtask dist --web writes a static page (WebGPU, with WebGL2 as fallback). The core, including the ECS, is in-house and split across a Cargo workspace, with no engine-framework crate. wgpu is the renderer so one API covers Vulkan, Metal, DX12, GL, and WebGPU.

0.4 also has animation blend trees and layers, joints that can break, a character body that can push what it walks into, prefab variants, and a net stack over UDP (native) and WebSocket (browser), with snapshots, prediction, interest management, lag compensation, a lobby, and LAN discovery on native builds.

You can play three samples in the browser: platformer, breakout, and dodge. There is a networked sample, arena, which builds for the web too, but is not embedded on the site because it needs a game server.

Honest gaps: 3D has not started. Rigid bodies and colliders cannot be parented yet. LAN discovery is native-only; a browser joins by address.

Site: https://fanalor.dev/Fanalor-Engine/

Repo: https://github.com/Fanalor-Labs/Fanalor-Engine

Feedback is welcome, especially from people working on their own wgpu renderers or netcode.


r/rust_gamedev • • 2d ago

I built a pure-Rust (wgpu 24) CSG-first game engine with real-time boolean wall destruction, raytraced BVH procedural audio, and an embedded pure-Rust Luau VM

Thumbnail drive.google.com
0 Upvotes

Sculpt Engine is a custom, pure-Rust (wgpu 24, winit, egui, cpal) procedural and CSG-first 3D game engine—built from scratch with zero external 3D model packs, texture packs, or audio libraries. Instead of importing static assets, the engine generates or sculpts every mesh, PBR material, sound effect, acoustic reflection, and terrain map directly in-engine.

It ships alongside Project Cold Water, a combined-arms tactical FPS and skirmishing sandbox built on top of the engine to showcase its systems in action.

How It Works Under the Hood

  • Procedural GPU Rendering (wgpu 24): Synthesizes 21 procedural PBR texture layers on startup via WGSL compute shaders, paired with texel-snapped sun shadows, Dual Paraboloid reflections, and raymarched 3D volumetric clouds.
  • Real-Time CSG Destruction & Structural Collapse: Buildings and props are constructed from Constructive Solid Geometry (CSG) primitives. High-caliber rounds, rockets, and mortars dynamically carve strictly convex craters through walls in real time, automatically updating both the navigation mesh (so AI and players can walk through newly blown holes) and the acoustic geometry. Heavy structural damage triggers physical building collapses.
  • Raytraced Procedural Audio & VoIP: An asynchronous two-level BVH traces multi-bounce sound reflections and edge diffraction in real time, feeding a lock-free procedural audio synthesizer and binaural/FDN reverb engine. It also includes frequency-based VHF tactical radio and proximity VoIP compressed with pure-Rust 8 kHz IMA ADPCM.
  • In-Engine Asset Studio & Procedural Modifiers: Includes a built-in 3D CSG boolean editor (+ Union, - Subtract, ∩ Intersect) with non-destructive Array, Curve, and Randomize modifiers to sculpt custom weapons, wheeled/tracked/helicopter vehicles, and reusable building stamps—exporting lightweight JSON blueprints and .cwassetopack.json bundles.
  • Sandboxed Luau & Visual Node Scripting (ColdFlux): Features an embedded, pure-Rust sandboxed Luau VM alongside a node-based visual scripting graph (ColdFlux) that compiles straight to Luau for custom gameplay triggers, procedural modifiers, and live HUD extensions.
  • Authoritative 60 Hz Multiplayer & Replay Studio: Built-in UDP netcode with 250 ms lag-compensated hitboxes, built-in NAT hole-punching via room codes, automatic temporary mod syncing (downloading a server's custom JSON weapons/vehicles/maps in-memory without polluting local files), and a keyframed spline Replay & Cinematic export studio.

Known Issues: The Water Reflections are a bit broken at the momennt. and VOIP (both radio and Local Voip) only output a high pitched noise, so dont waste your ears away trying to use those.

gogs/git based Repo (self hosted. that explains the IP)

http://217.154.150.166:3000/Vasily/Sculpt-Engine/src/main


r/rust_gamedev • • 3d ago

Marschwerk: A deterministic lockstep RTS in Bevy 0.19, fixed-point sim at 20 Hz, up to 3v3 over Steam

6 Upvotes

r/rust_gamedev • • 4d ago

Getting our Bevy roguelite to 60 fps on the Steam Deck: shadow stand-ins, bindless materials, render scale

8 Upvotes

Firefly is a co-op action roguelite we're building in Rust with Bevy 0.20. Its one moving light is the firefly, and that light casts shadows off every tile of the map. On the Steam Deck our benchmark fight was nowhere near 60 fps, so this week went into fixing that.

What got the benchmark fight to hold 60 on the Deck:

  • Shadow casters are simple stand-in shapes instead of the detailed tile meshes, in all three areas (marsh, crypt, citadel).
  • Tile tops no longer cast the firefly's shadows.
  • Our dark materials and effects moved to bindless rendering, which cuts a lot of the per-draw cost.
  • The world can render at a lower resolution than the screen and get scaled up.
  • A build script merges map tiles, drops the ones that are never visible, and simplifies the animated tile meshes.
  • The moon's shadows only cover what's in view, so their detail goes where you're looking.

The part I'd recommend to anyone targeting the Deck is the test loop. The game has a benchmark mode that plays the same fight every time, times it and quits. A script builds the game, copies it to the Deck and runs it there, so every change is measured on the real hardware. The rollback netcode helps here, since the game already has to play the same way every time.

The options menu now has graphics presets, one of them made for the Deck. Happy to go into any of these. Steam page in the comments.


r/rust_gamedev • • 4d ago

I made a tank battle game heavily inspired by RecWar using Rust and Bevy!

12 Upvotes

Hey everyone!

Does anyone here remember RecWar? That old top-down vehicle combat game from the early 2000s?

I've been working on a modern game heavily inspired by it, built with Rust and the Bevy game engine.

I wanted to bring back that classic, chaotic tank combat experience while giving it a more modern look and feel, without losing the simplicity that made the original so enjoyable.

One of the coolest parts is that the game runs directly in your browser, so there's nothing to download or install.

Play it here: https://tankz.online

I'd love to hear what you guys think, especially from fellow Rust and Bevy developers and anyone who remembers the original RecWar.

Feedback on gameplay, performance, visuals, and mechanics is more than welcome.

I'm also happy to answer any technical questions about the development process!

Hope you enjoy it!


r/rust_gamedev • • 3d ago

Claude Code transformou meu pequeno motor Rust HD-2D em um jogo completo de 4 fases: arte, níveis, cenas cortadas e música, tudo gerado por código, zero arquivos de assets

0 Upvotes

r/rust_gamedev • • 6d ago

JellyPhysics - 2D soft body physics engine based on point masses

Post image
97 Upvotes

r/rust_gamedev • • 6d ago

Afina Engine

Thumbnail gallery
1 Upvotes

r/rust_gamedev • • 5d ago

I built an open-source multiplayer game runtime & world creator from scratch in Rust (think Roblox meets FiveM)

0 Upvotes

Hey everyone! Over the past months (450+ commits and 36 releases in), I’ve been building SARE, a clean-room game runtime and creator platform written in Rust with Vulkan.
The goal: Combine the instant world-building and accessibility of Roblox with the server/client modding workflow of FiveM.
**What’s working right now (v0.36.0):**You can download the Windows installer or grab the source on GitHub (MIT licensed):
https://github.com/LordM8YT/SARE
Would love feedback on the architecture, roadmap, or anything you’d like to see next!


r/rust_gamedev • • 6d ago

Looking for a Rust developer interested in contributing to a closed-source 3D game engine [Unpaid/Hobby]

0 Upvotes

I'm currently developing Ropix Engine, a proprietary Rust-native 3D game engine specialising in atmospheric, horror and narrative-driven games.

The project has reached v0.1.0, with v0.1.1 currently undergoing a comprehensive manual code review and stabilisation.

I'm looking for one developer interested in game engine development who would like to take responsibility for a specific subsystem, potentially involving asset management, audio, editor tools or another area depending on their interests and experience.

Requirements:

- Good enough knowledge of Rust.

- Interest in game engine or systems programming.

- (Preferred, but if you write "bad" code, I can always improve it in the PR) Ability to work independently and write maintainable code.

Project conditions:

- Unpaid, passion-driven collaboration.

- Flexible commitment with no fixed working hours.

- Closed-source development through private GitHub repositories.

- Contributor attribution and meaningful technical autonomy.

The long-term goal is to provide a free, royalty-free engine that independent developers can seriously consider for atmospheric and horror games.

I'm actively developing the engine myself and will continue handling the core architecture and more complex engine systems.

Website: https://ropix.studio

DM (on Discord) me if interested.

My username is collector668


r/rust_gamedev • • 7d ago

Coral TD v0.1.36 — Victory Coral Bloom

Post image
54 Upvotes

I wanted to give the player a feeling of restoring the coral reef after they beat a stage of my tower defense game.

Clearing the final wave triggers a 3-second staggered radial bloom of coral flora, seagrass, and unlocked towers spreading outward from the Brain Coral before the victory debrief is displayed.

I think the end result looks really cool and gives a feeling of bringing a reef back to life!

Play free in your browser


r/rust_gamedev • • 6d ago

AppEmulon 1.0 : un nouvel émulateur haute performance open-source pour les jeux classiques 32 bits de l'iPhone (Windows)

Thumbnail
reddit.com
0 Upvotes