r/rust_gamedev • u/seventeencups • 15h ago
Are We Game Yet? - Call for new maintainers
r/rust_gamedev • u/seventeencups • Jan 28 '25
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:
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 • u/seventeencups • 15h ago
r/rust_gamedev • u/1wairesd • 3h ago
Hey everyone!
I've been working on a project called Voxaryn, based on the open-source Rust Minecraft project Horizon.
My goal is to explore how much of Minecraft's server-side simulation can actually be parallelized across CPU cores without breaking game behavior.
So far, I've been experimenting with parallel entity ticking using Rayon.
The basic idea is to group interacting entities into independent "islands" and process those groups on separate threads.
In some controlled experiments, this showed promising results, including up to 3.9x speedup for the parallelized workload with 12 threads.
But things get much more complicated when entities are densely packed together.
For example, testing 2,000 cows in one dense group creates a completely different situation compared to splitting them across eight separate pens.
When many entities interact with each other, splitting the workload becomes much harder, and simply adding more threads doesn't solve the problem.
I've also been working on deterministic correctness checks and reproducible benchmarks, because performance improvements mean nothing if the simulation starts behaving differently.
I use AI coding agents extensively for implementation and testing, while focusing on directing experiments, reviewing results, and understanding the technical decisions.
The project is still experimental, and there's a lot left to figure out.
I'm sharing it because I'd love to hear from people with experience in parallel game loops, ECS architectures, or multithreaded simulation.
How would you approach parallelizing entity updates when many entities depend on each other?
GitHub (experimental P2.5 branch with more recent implementation and research):
https://github.com/1wairesd/Voxaryn/tree/experimental/entity-islands-p2.5
The main branch is currently behind the experimental development work.
I'm planning to keep sharing progress, experiments, and failures as I continue working on it.
r/rust_gamedev • u/bcamanitu • 1d ago
Ive been working on a game in which all creatures are procedural and evolve based on their genes. A few weeks ago I began trying to add procedural sound to the creatures and that sent me down a really interesting rabbit hole.
After reading lots of papers about formant synthesis, trying all sorts of existing software, and a ton of trial and error i have finally put together a system that im happy with. At least for now.
The synthesis engine started as a python script and eventually became a rust crate which can be compiled into a dll and used from Unity. I can easily synthesize 20 calls per creature for 200 creatures without getting a noticeable frame lag now. My old engine was written in c# and wasnt nearly as feature complete or performant even when heavily utilizing Burst and per-frame job budgets.
The repo has a pretty thorough readme. The /native/ directory is where id go to stsrt playing around with the cli. If you have Rust and Cargo already just go into that directory and do "cargo build --release"
Edit: here are a couple calls in action along with the new feature I just finished- automatic mouth animation.
r/rust_gamedev • u/ilkasthor • 17h ago
r/rust_gamedev • u/legend-of-alan • 7h ago
Hey all, I'm trying to share this across a few places and hopefully my free tool saves you some money if you're building a Rust agent for your game!
TLDR; Code Mode is a feature that Anthropic announced a few days ago that can save >60% of token costs for agent tool calls. Since token cost dominates agentic software for people like me building Spookery, my AI RPG game engine, I built a Rust tool called Ghost Mode to open source this technique (and also because it's fun to build stuff!). You can find it at the link above! It's a drop-in for your existing MCP servers/clients with only a little boilerplate.
Details;
So I don’t know if you saw the news from Anthropic, but they released this feature called ‘Code Mode’ for Claude Code. Basically it ‘batches’ LLM tool calls into scripts instead of constantly asking the LLM for the next tool. They claim 95% token savings (Haven't benchmarked it myself yet, but independent research claim more like a 60% savings, depending on workload). Up to now, this is mostly used by established coding agent products like Claude Code and Codex.
I immediately became obsessed, because I wanted it for Spookery to run AI-powered RPG games & private servers. So I took a look around, and there’s not much in Rust. There’s a few libraries like with TypeScript and other backends, but they’re like 5x slower (execution) to 100x slower (startup) compared to claims of modern options like Pydantic’s Monty (Python backend written on Rust).
So I went temporarily insane, didn’t sleep, and built/released my own in the days I had off… I call it Ghost Mode. It’s MIT-licensed, because I wanted to share it with others. To use it, just run:
cargo add ghostmodeGive it a try if you’re looking to save tokens in your new Rust agents for your games (or if you just want to flatter me by testing it). If anybody tries it and likes it, I think we can build a really powerful Code Mode implementation together (extend it for other languages, add new features, etc.).
I hope you get something useful out of it.
And if you get nothing out of this, just keep an eye for code mode in your code harnesses soon. I think Anthropic’s is still in the experimental features… But I think it’ll change the game if it’s as powerful as the research says.
r/rust_gamedev • u/bcamanitu • 2d ago
r/rust_gamedev • u/Timely_Mobile8565 • 2d ago
r/rust_gamedev • u/Stoic-Chimp • 3d ago
What started as a shower thought one year ago today:
How would you mine an asteroid if its spinning and hurling like crazy?
Well, you'd wrangle it to a halt with harpoons and thrusters, of course. That's the concept for my game Asteroid Rodeo.
I use SVOs for the asteroids and almost everything in the game world is procedurally generated. Simulating realistic Newtonian physics, we track asteroids Center of Mass based on the SVOs and composition.
Spatial audio with bineural HRTF.
Roughly 120k lines of Rust and 5k lines of WGSL, yet recompile times are snappy. Few dependencies, mostly low lvl stuff like cpal and glam etc.
Happy to share implementation details if anyone is curious.
Steam page if anyone wants to see.
r/rust_gamedev • u/Express_Delay3882 • 2d ago

Hey everyone!
So, I've been working on a little personal project called UGL (Universal Game Launcher). I'm building it mainly for fun, because I enjoy programming and gaming, but I've slowly started turning it into something much bigger than I originally planned.
The project is open source, written in Rust, and uses Slint for its desktop interface and SQLite for local data storage.
In the 0.0.4 alpha, it uses 90 MB of RAM.
I want to create a universal game launcher where all your games can live in one place, regardless of where they come from or how you obtained them.
Steam, Epic Games, itch.io, GOG, emulators, RetroAchievements, standalone games, old games installed from folders, fan games, unofficial releases, and other sources.
I don't want UGL to be tied to a particular store, ecosystem, account, or launcher.
The philosophy behind it is pretty simple:
Basically, I want a launcher that doesn't care where your games came from. If you have the game files and can run the game on your system, UGL should eventually be able to manage it.
UGL is still in an early alpha stage, but it already has a working foundation.
Some of the features I've implemented so far include:
I'm also working on improving the import process, metadata retrieval, icon caching, Steam integration and background behavior.
There is still a lot to do, but the important thing is that the foundation is already working.
This is where things get interesting.
I'd love to eventually implement integrations and synchronization with:
One of my biggest goals is to develop a unified achievement system.
Imagine having your Steam achievements, RetroAchievements, and locally managed achievements accessible from one interface. I'd also like to give users the ability to create and manage their own achievements for games that don't have any.
I know this is a pretty ambitious idea, and I understand that different platforms have different APIs, limitations and terms of use. I'll have to work around those constraints properly.
I also don't want UGL to look like another generic modern launcher.
My current interface is still relatively basic, but my long-term visual goal is a skeuomorphic design inspired by physical game collections.
Think of a digital game shelf:
I want the experience of browsing your library to feel a little like walking up to your own game shelf.
Not just a grid of icons and buttons, but something with personality, nostalgia and a sense of ownership over your collection.
Since I'm still developing UGL, I'd really appreciate ideas from people who use different launchers, have large game collections, play retro games or develop open-source software.
Some questions I'd love to hear your thoughts on:
I'm not necessarily looking for huge features. Even small ideas, quality-of-life improvements, or things you've always wished your current launcher could do would be extremely useful.
UGL is a project I'm building because I genuinely enjoy the idea behind it. I don't expect it to replace every launcher or become the next big thing. I just want to build something useful, open, customizable and different.
If you have ideas, suggestions, criticisms or even technical recommendations, I'd love to hear them!
Thanks for reading!
r/rust_gamedev • u/Key_University6995 • 1d ago
r/rust_gamedev • u/Illustrious-Vast9825 • 2d ago
i'm searching a graphic library to use for my exam, i need something very good at graphic level, for specific the exam is a video game that run with bot and u can only stop the game, move around the map and resume, the map is 2D (but we can also do in semi 3D) with the ships (controlled by bots) move aroud the map in search for the treasure, someone have some sdvice?
r/rust_gamedev • u/Mysterious_Chef_2315 • 3d ago
r/rust_gamedev • u/StudioMilesyon • 3d ago
Hi r/rust_gamedev,
I'm Mael, 20, solo. Before anything else: I used AI a lot to build this, for code and for some assets. I'm saying it up front because I own it, and I'll take every criticism that comes with it. Details below.
The road here
I spent about two years on the engine alone, 10 to 16 hours a day. The plan was a pure SDF engine: no triangles, no meshes, everything raymarched. That first engine was in C# with Silk.NET. It started on OpenGL, from the first triangle, then I moved it to Vulkan with Slang shaders, and I rewrote it several times. It ran at around 400 FPS in its test scenes, and it never became a game.
So I moved to Rust, and for about a year now I've been building the game and the engine together. Along the way the renderer became a raster pipeline plus hardware ray tracing. The SDF work lives on as an SDF program evaluator inside the engine.
What it is
Milesyon is a game studio tycoon, 1978 to 2026. You describe each game in one sentence, shape it, and then you actually play it with the tech of its year: text mode on an amber screen, then pixels, then 3D. The video is one sentence, "a knight against skeletons", typed once, and the games it gives in 1978, 1988 and 2025. Then a glimpse of the studio sim behind it, and the spell system.
The stack
Raw Vulkan through ash 0.38, with my own host. No engine. egui 0.27 is drawn on top of it.
Shaders are written in WGSL and compiled by naga.
Shadows use hardware ray queries when the GPU has RT cores.
One ray core with a BVH is shared by the CPU and a compute shader built with Rust GPU, compiled from source.
The simulation is deterministic, with a pinned libm: same seed, same world.
Local models only. The covers are painted on your GPU through a Rust binding of stable diffusion, and the Mentor inside the game runs on candle. No account, no server, no subscription.
About the AI, plainly
The Rust codebase is around 970,000 lines in 914 files. Nobody writes that alone in a year: a large part of it was written with AI tools. I decided the architecture, every system and every rule, and I test, read and debug all of it. AI also helped with some models, textures, music, sounds and translations. If that's a dealbreaker for you, I understand, and I'd still like to hear why.
The vision
I love Game Dev Tycoon, and I never found a modern game that came close. I wanted the version where the games you make are real games you can play, where you live one person's whole life in that studio and leave a Book behind, and where the creation has no limit. I'm far from done. Some genres are much richer than others today.
What I'd love from you
Tear it apart: the video, the stack, the choices. And tell me what you'd want in a deeper technical post: the ray core on CPU and GPU, the WGSL pipeline, or how a sentence becomes a level.
Steam page:
https://store.steampowered.com/app/4887470/?utm_source=reddit&utm_campaign=rust_gamedev_1
r/rust_gamedev • u/Timely_Mobile8565 • 5d ago
r/rust_gamedev • u/Hazmadd • 5d ago
Couple weeks back I posted Steadfall's prototype next to the current build, and the top question was which one was the newer shot. Fair, the house in the second one was pale and washed out compared to the grass.
So this time it's three shots: the prototype, the build from my last post, and where it's at today.
For anyone new, Steadfall is a scenario based survival sandbox built in Rust with Bevy. Two of us on the team, me on code and design and a 3D modeler on art. More at steadfall.com if you're curious.
r/rust_gamedev • u/emnxwpqe • 5d ago
Im 13 and i wanna learn to make a circle in wgpu can anyone help me? I have some experience with macroquad and made a physics simulation with macroquad with just ball collisions and gravity
r/rust_gamedev • u/pockerhead • 6d ago
Play in the browser: https://pockerhead.github.io/rune-minesweeper/
Source (MIT): https://github.com/pockerhead/rune-minesweeper
Desktop builds for Windows, Linux, macOS: https://github.com/pockerhead/rune-minesweeper/releases
The board floats. Every tile is a raft on the water with real buoyancy (Jolt Physics through oxijolt), a small boat sails the channels between them to the cell you pick, the numbers are volumetric clouds that cast shadows and show in the water, and a mine sends the boat and the nearby rafts flying.
How it is made, to be fair about it: Rune gives the window, input, text, layout and the web host. The sea, boat and clouds are a hand-written wgpu renderer plugged into Rune's compositor through an effect slot. The interesting part is where the two meet:
menu labels are rendered by a second Rune runtime into a texture and printed onto the planks, so they tilt, bob, catch light and show in reflections;
the end-of-game banner is a Liquid Glass style effect slot that bends the live sea at its rim, with Rune text on top;
pinch zoom and pan on phones, wheel and trackpad on desktop, one camera for drawing and picking.
It started as a joke in the Russian Rust gamedev Telegram chat: someone had Kimi build a flat Rune minesweeper and wished for "the field as a sea with a pretty shader" and "mines with buoyancy physics". So here it is. Thanks, chat
Disclosure: the code was written almost entirely by Claude (Anthropic), with me setting direction, reviewing and testing on real devices.
Needs WebGPU: recent Chrome or Edge, Safari 26, Firefox 141+ on Windows. Some Android phones report no WebGPU adapter in Chrome; in-app browsers usually have none.
r/rust_gamedev • u/caspervonb • 6d ago
r/rust_gamedev • u/neznein9 • 6d ago
Are puzzle games allowed? I built a logic grid game for iPhone and iPad called Logrid.
I started by writing a humanistic solver in Rust, which makes deductions in the same way a person would. Unlike a constraint satisfaction solver, which doesn't model the deductive reasoning, mine allows you to play up to your skill limit and then get a hint for the next deduction on the board, so you can learn as you play without spoiling the puzzle.
The video shows an early build of the solver working through a puzzle. Today that engine powers the whole game (with a SwiftUI front end), as well as a puzzle authoring tool built entirely in Rust with eframe/egui, which has a bunch of its own cool tech for authoring deeper and more interesting puzzles.
The first public version of the game is on the App Store now. There's a lot I want to improve, but I'm looking forward to getting feedback from real players about the puzzling experience, and I'm happy to answer any questions about the tech.
No ads. Free to play, with more content coming soon: