r/rust_gamedev • • May 06 '26 Bravo Regret

BerryCode v0.8.1 — a native IDE for Bevy, built in Bevy

631 Upvotes

Hey r/rust_gamedev! Just shipped BerryCode v0.8.1— a native IDE for the Bevy game engine, dogfooded by being built on the same stack

it edits (Bevy 0.18 + bevy_egui 0.39 + WGPU).

What's in it

- Code editor (Tree-sitter highlighting, Ropey buffer, LSP)

- Scene editor — 3D viewport, hierarchy, inspector, gizmos

- ECS Inspector (BRP client — talks to your running Bevy game)

- Integrated terminal, Git, project-wide search

- AI chat / inline completions (BYOK; opt-out with `cargo build --no-default-features`)

v0.8 highlights

- Read-only **Godot project** support (parses `project.godot` / `.tscn`, syntax highlighting for `.gd`)

- Activity bar panel visibility settings (hide what you don't use)

- Opt-out `ai` Cargo feature for a leaner build

Stack: same as the games it edits — Bevy 0.18 + bevy_egui 0.39 + egui 0.33 + WGPU. Two binaries from the same crate (`berrycode` + a thinner `berrycode-egui` for dev).

Repo: https://github.com/KyosukeIshizu1008/berryscode

Releases (macOS / Linux / Windows): https://github.com/KyosukeIshizu1008/berryscode/releases/tag/v0.8.1

Feedback, issues, weird crashes — all welcome. Especially curious to hear from folks running Bevy on non-toy projects what's missing.


r/rust_gamedev • • Aug 11 '25

Creating terminal UI games in Rust with Ratatui is incredibly fun!

545 Upvotes

r/rust_gamedev • • Jul 22 '26

I built a digital logic circuit simulator in Rust (egui/eframe)

Post image
463 Upvotes

r/rust_gamedev here - I built a digital logic circuit simulator

I wanted to share a project i made for logic simulation nearly 100% rust and complied to WASM for some blazing fast in browser run times.

here's the link if you want to check it out: https://theta-rnd.itch.io/logic-sim

if you do would LOVE to hear your feed back


r/rust_gamedev • • Oct 03 '24

I made a movement shooter in Rust + Bevy for any FPS chads out there 📢

462 Upvotes

r/rust_gamedev • • Aug 10 '20

Introducing Bevy: a refreshingly simple data-driven game engine and app framework built in Rust

Thumbnail
bevyengine.org
415 Upvotes

r/rust_gamedev • • Apr 17 '26

Progress update: my Rust game is now in public playtest

387 Upvotes

A couple of months ago I shared progress on my game here. Since then, the project has reached a major milestone - the first public playtest is now live!

The game is a sandbox about building ships tile by tile and docking them together into functioning structures. Instead of a fixed base, you have grids interconnecting and interacting. And the flight dynamic obey real physics - you can't just put a thruster anywhere and fly in any directions, real forces get applied to off-center points.

From a technical standpoint, the stack is:

  • Rust for the core game, as well as for the WASM based scripting

  • SDL3 using OpenGL 3.3

  • Custom rendered UI via Taffy with full controller support

  • Renet networking for multiplayer via a deterministic lockstep simulation. Previously I used a server authority based approach, but the sheer scale of the universe made it harder and harder to justify. Lockstep results in a flat <5kB/s network speed use.

  • Highly modular content system, with a Wasmtime based scripting system (that I still haven't published the documentation for, because the API is evolving rapidly and I constantly introduce breaking changes - which are fine due to my own scripts being in lockstep with the game release)

There were so many challenges involved, and so many things you'd pull from a library - I had to implement myself to ensure the 100% portable determinism for lockstep multiplayer.

Sometimes I wonder "how did it take up a year and a half of my free time", but then I noticed the 130k SLoC of code alone, besides all the other efforts involved.

Here's a link to the Steam page, if you'd like to test it out. It's a free, open, playtest.

Also you can join the discord if you'd like to follow along on the development.

The game won't be open-source, before you ask, but the scripting, once it's public one day, will give you incredible power to build any mod you want using Rust.

I'm happy to answer any technical questions!


r/rust_gamedev • • Jan 02 '22

Meet 'Blackjack': A 3D procedural modelling application I'm working on using 100% Rust

Thumbnail
gfycat.com
378 Upvotes

r/rust_gamedev • • Mar 20 '21

Veloren, a FOSS multiplayer RPG is releasing 0.9 on Marth 20th at 18:00 GMT. Come join the release party!

Post image
360 Upvotes

r/rust_gamedev • • Aug 20 '21

Not Snake - my first game released made with Bevy

334 Upvotes

r/rust_gamedev • • Feb 08 '22

Some months into building and we'd never have gotten this far without Rust! ATM you can create open worlds, script gameplay and mess around with physics.

332 Upvotes

r/rust_gamedev • • Sep 22 '20

Real time diffuse global illumination for static geometry in Wgpu

327 Upvotes

r/rust_gamedev • • Sep 18 '25

I quit my job to build a multiplayer shooter in four-dimensional space from scratch in Rust

316 Upvotes

A few years ago, when I was watching another YouTube video about 4D geometry visualization, I got this idea that if you play a competitive Quake-like shooter in four-dimensional space for long enough, it might actually develop your 4D spatial reasoning.

The thought seemed interesting to me, and two years ago I quit my job to create such a shooter.

Since the core engine systems had to be custom (physics and rendering), I decided to write the game on my own engine, which meant using Rust.

Because visualizing 4D geometry isn't the most straightforward thing, I went with a proven approach and decided to render it using SDFs (signed distance functions; you can read more about the technique here). I built the collision detection system on the same principle, and all physics calculations use SDFs.

Since the initial idea was to cover as many platforms as possible, including web (honestly, now I'm not even sure why I needed web support 😅), I chose wgpu as the graphics API, winit as the window manager, and matchbox as the networking library (a WebRTC wrapper that lets you send packets from the browser like over UDP. This is necessary for high-speed network packet transmission in action shooters).

Even though I dropped web support after a while, WebRTC stayed, which created additional challenges later when building game servers. Switching technologies mid-development would have taken too long.

I've been developing the game on this stack for two years, handling everything myself—from physics engine code to drawing UI in GIMP. Deadlines got moved multiple times, but in the end, I managed to finish the game (at least as a playable prototype).

Toward the end of development, I decided to release all the game code openly under the AGPL-3.0 license. If players and the community show interest in this project and I can secure funding to work on it full-time—I'll continue development.

What I ended up with—see below.
Additional information on website
Trailer on Youtube
Video-tutorial on Youtube
Source code on Github
Itch.io page with build for windows
(For other platforms, you have to build it yourself from the source code)

video


r/rust_gamedev • • Apr 11 '25

Today we released demo of Linksider - puzzle game written in Rust

311 Upvotes

This game was originally made for Bevy Jam #3. Since then it has been rewritten into a custom engine, the mechanics have been reworked, and it is now coming to steam. Today we released the demo. Estimated time to beat the demo is around 1 hour

Try it out here: https://store.steampowered.com/app/2995150/Linksider/

🦀


r/rust_gamedev • • May 16 '23

[MEDIA] My first renderer using wgpu

303 Upvotes

r/rust_gamedev • • 22d ago

My very first Game from scratch !!! It took 9 months BTW =]]

298 Upvotes

Well, it's a bit embarrassing that I only found time today to scroll through Reddit (to post this) and Steam Fest. Oh my god, so many games are launching, and they all look super fun and gorgeous. And yet here I am, posting my ugly little game. Ha ha haha

Ok, anyway, I put a lot of work into it, so I'm just gonna post it. I still feel like there's something special about it, haha.

About the 9 months: it really was 9 months, but not 8 hours a day. It's just a hobby. But I have to admit I made a lot of mistakes and learned a ton along the way. Here's roughly how it went:

- I started learning Rust at the beginning of this year.

- After 3 months, I wanted to build something with Rust. Since I come from a Unity/C# background, I decided to take what I'd learned from Unity and rewrite it in Rust. In other words, my own game engine.

- 2 months later, I finished my own ECS library.

- And the rest of the time, I threw myself into learning Vulkan. Oh god, it was a nightmare.

Vulkan was hard for me because:

- I knew nothing about the low-level rendering pipeline. Sure, I can write shaders in Unity, but building a render backend from scratch is a whole != WTF story !!

- There are just way too many systems, things to learn, to remember,etc

Don't ask why I didn't use Bevy. I did look at it! I read through their repo to understand how they use Rust and how they use generics. Oh man, it's so powerful! But early on I really struggled to understand PhantomData, and why impl ATrait for MyData<T> didn't work. Honestly, without repos like Bevy, I probably wouldn't have dared to build a game engine myself!

About a month ago, I finally stopped learning Vulkan. I stopped so I could learn how to make a game without the GPU, and boom, everything went super smoothly.

Back to feeling embarrassed, shy, and excited all at once. My emotions are kind of a mess right now. But I'm still posting this to let it all out...

I also used an LLM (Claude) to learn and look up docs about game engines and Rust. I admit Claude is really smart, it can do a lot of cool stuff, and the code quality isn't bad either. But no matter how good Claude is, I can't become a Master Super Senior Rust Game Graphics Programmer in a week or a month. There's no way I could understand everything it generates! Oh god! Maybe I'm just dumb, everyone else seems so talented, T_T... whatever. Right now I'm pretty hyped that I actually made something with Rust by myself, hahah.

So after the first 1-2 months of overusing AI, I went back to coding the old-fashioned way. Now the only habit I kept is asking Claude to find docs for me. I treat it like a super search engine.

As for the game in this post, it looks really simple, but behind it there's:

- An ECS library with work stealing and async tasks (I don't use them in this game yet, but back when I was working with Vulkan, I had to build async tasks for shader hot-reloading).

- A canvas: it manages its own fixed-size buffer for the whole screen, and automatically scales to fit the app window.

- Clipping techniques for drawing rects, lines, etc., so no compute is wasted when part of a shape is off-screen.

- Syncing between the monitor's refresh rate and the game's update rate.

- A math library. While building it, I finally understood 2x2 and 2x3 matrices for the first time.

- A small 2D physics library, built around simple functions for simple shapes like rects and circles.

- Input, time, etc...

And that's how I made this ugly, dumb little game. Thanks for reading! I hope the way I wrote this doesn't annoy anyone. I'm just a bit hyped right now, and then suddenly disappointed and discouraged, T_T...


r/rust_gamedev • • Mar 18 '23

Auto-tiling function I made for my game

295 Upvotes

r/rust_gamedev • • Feb 16 '21

My first OpenGL based renderer.

279 Upvotes

r/rust_gamedev • • Apr 21 '21

Fish Game – A multiplayer 2D brawler, playable online

277 Upvotes

r/rust_gamedev • • Dec 29 '25

Why is nobody talking about this game?

Post image
273 Upvotes

Veloren is a free and open-source, open-world RPG written in Rust, with support for Vulkan, DX12, and, oddly enough, OpenGL (something most modern games don't even bother with).

I've been playing it a lot lately and it's kept me hooked for dozens of hours despite still being in pre-alpha.

I'm a complete beginner in programming, and while I can't yet write code with my own logic, I can modify some values ​​and understand the basic workings of some functions. I currently use GDscript from the Godot Engine, but in the future I'd like to learn Rust and perhaps contribute to the open-source code of this game or other Rust projects.

I think Rust should be proud to have such a large (and well-optimized) project in its portfolio.


r/rust_gamedev • • Jan 27 '22

Made a Minecraft server in Rust, which can support clients on 1.8-1.18

Post image
268 Upvotes

r/rust_gamedev • • Nov 29 '25

I recreated surf_utopia_njv in Bevy :D

264 Upvotes

This is a test scene for my WIP kinematic character controller: https://github.com/janhohenheim/bevy_ahoy

Also, sorry for cutting the video a bit early. I fell right after anyways, so no big loss haha


r/rust_gamedev • • May 04 '26

Rust is amazing. Building a space physics sandbox from scratch with Rust + WGPU

258 Upvotes

Hope this is OK to share here. Rust gamedev is great, all you see here was built in 6 months. If anyone is curious about implementation details, happy to discuss. I use SVOs for the asteroids, 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.


r/rust_gamedev • • Sep 09 '26

My game crashed live on stream because of some cosmic-level coincidence in a dependency. Nice. At least it wasn't my code for once XD

Post image
248 Upvotes

The gilrs crate panicked and took my game down with it. I wrapped the gilrs polling in catch_unwind so it can't kill the whole game again, and filed an issue upstream.

The funniest part? The streamer wasn't even playing with a gamepad.


r/rust_gamedev • • Oct 01 '24

Construction time-lapse. Jarl – colony building game inspired by Valheim and Rimworld.

240 Upvotes