r/rust_gamedev • • 14h 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 • • 7h ago

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

4 Upvotes

r/rust_gamedev • • 3h ago

Built a lightweight native Rust offline launcher for Horizon (Minecraft 26.3 Rust rewrite) — LAN ready, Custom Skins, Shaders & Resource Packs

Post image
3 Upvotes

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 • • 17h ago

Generic VI game runs at~15 fps on macOS

Thumbnail
reddit.com
0 Upvotes