r/rust_gamedev • u/Euphoric-Guarantee55 • 17h ago
r/rust_gamedev • u/FireflySaga • 1d ago
Getting our Bevy roguelite to 60 fps on the Steam Deck: shadow stand-ins, bindless materials, render scale
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 • u/AccomplishedSky7230 • 12h ago
Built a lightweight native Rust offline launcher for Horizon (Minecraft 26.3 Rust rewrite) — LAN ready, Custom Skins, Shaders & Resource Packs
I built a small native Rust (
eframe/egui) offline Windows launcher for Horizon (the Rust rewrite of Minecraft: Java Edition 26.3) so it's easy to install and play offline / over LAN with friends.What it does:
No Mojang/Minecraft files are bundled or hosted — it pulls official vanilla files directly when you run Setup.
Download: https://github.com/Kebinnnnn1/Horizon-Offline/releases
Feedback and bug reports welcome!
r/rust_gamedev • u/malatyalikara • 1d ago
I made a tank battle game heavily inspired by RecWar using Rust and Bevy!
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 • u/toscaobr • 19h 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
r/rust_gamedev • u/EleshVaishnav • 1d ago
Generic VI game runs at~15 fps on macOS
r/rust_gamedev • u/velocityvector2 • 3d ago
JellyPhysics - 2D soft body physics engine based on point masses
r/rust_gamedev • u/LordM8YT • 2d ago
I built an open-source multiplayer game runtime & world creator from scratch in Rust (think Roblox meets FiveM)
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 • u/cobweb6542 • 2d ago
Looking for a Rust developer interested in contributing to a closed-source 3D game engine [Unpaid/Hobby]
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 • u/Jilminator • 4d ago
Coral TD v0.1.36 — Victory Coral Bloom
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 • u/SuperSuliM • 3d ago
AppEmulon 1.0 : un nouvel émulateur haute performance open-source pour les jeux classiques 32 bits de l'iPhone (Windows)
r/rust_gamedev • u/arn_c0de • 3d ago
Rain, puddle physics and ground reflections in my Rust engine (early preview)
I've been working on the weather module of QLink, my PC and VR Rust game and simulation engine for Linux. It now has rain, water and puddle physics, and the puddles on the ground show full reflections.
It's still in very early development, so this is just a first look.
r/rust_gamedev • u/Mysterious_Chef_2315 • 3d ago
Rust version source code of SlotBound, looking forward to contribution from the community.
github repo: https://github.com/MaDxCRaZY/rust_slotbound.git
Note: it's not complete and there are issues i don't have time to fix those as of now, you can ask your agent to fix and contribute to the port.
r/rust_gamedev • u/Key_University6995 • 5d ago
question QUIC vs UDP for Rust MMO (Devlog Week 11)
r/rust_gamedev • u/GenericPointer • 5d ago
I started my first game engine in Rust without SDL using Vulkan/ash (No Editor yet/source first)
r/rust_gamedev • u/Beautiful-Truck-3521 • 6d ago
Building an FPS inside my own apartment using Bevy + Solaris
galleryr/rust_gamedev • u/klanews • 6d ago
I love mathematics, vibe coded a codec after an idea struck me, and it outperforms leading competitors in my tests. How do I validate and license it?
reddit.comr/rust_gamedev • u/Leadwerks • 7d ago
question Should I add support for Rust?
Hi, I am the developer of Leadwerks Game Engine. I'm looking for a mid-difficulty language, somewhere in between C++ and Lua. C# would work nicely, but the lag spikes caused by the garbage collection seem like it ruins the language for realtime 3D games, especially for VR. I'm not that familiar with Rust but I hear a lot of good things about it, and it appears to use shared pointers, which eliminates the performance problems full garbage collection would introduce.
Support for Rust can be added by piping all the commands through a C interface and writing some structure/class code on the Rust side that wraps everything up nicely for the end user.
I'm aware of the open-source Bevy 3D engine, but it's lacking a visual editor. Leadwerks 5 has a very capable level editor / visual designer that's been refined over years with lots of user feedback. To be clear, Leadwerks is closed-source commercial software (with a low price point and no royalties).
Do you think Rust would be a good match for what we are looking for in a language? Would adding support for the Rust programming language would be of interest to developers here? Please let me know your thoughts and if you have any questions.
r/rust_gamedev • u/Braydo25 • 7d ago
Far Worlds: a co-op voxel RPG that runs in the browser on a Rust + wgpu renderer compiled to WebAssembly
Hey all! Wanted to share the game I've been working on and a bit about how it's put together, since most of the heavy lifting is in Rust.
Far Worlds is a free co-op voxel RPG for up to 8 players in a party. You start at a home camp, head out on an expedition to a world you've never seen, then bring what you find home to grow the camp.
The Rust side:
- The renderer is Rust on wgpu, compiled to WebAssembly. It runs in a web worker and draws with WebGPU in the browser.
- Terrain meshing, lighting and physics are their own Rust crates, also compiled to WebAssembly.
- The game logic around them is TypeScript.
It plays in Chrome, Brave or Edge with no install and no sign-up: https://farworlds.com/play
It's in alpha with updates every week. Ask away if you want more detail on any part. Thanks!
r/rust_gamedev • u/Hazmadd • 8d ago
Rewrote the rain in my Bevy game: one draw call, every drop placed in the vertex shader, anchored to the world and slanted by the wind
The old version was 22,000 quads in one rigid mesh, snapped to a 1 m lattice and turned with the camera, so the whole field jumped and swung as you moved. 😂😭
For the new one, each drop is a seed in a box that tiles the world. The shader adds how far the wind has carried the field and how far the drop has fallen, and draws the copy of the tile nearest the eye. Moving the camera moves no drop, and half the quads give the old density.
Game is Steadfall, an open world survival sandbox on a full Earth size planet. Happy to answer anything about it.