r/bevy • • 14h ago

I built a 2D physics & fluid sandbox in Bevy with custom 2D Ray Tracing written from scratch — running smoothly on 4GB RAM & Intel Pentium Gold (MA BOX V.3.0)

0 Upvotes

Hey everyone!

I’ve been working on my indie 2D physics sandbox (previously called Water Sim, now rebranded to MA BOX for V.3.0), built entirely in Rust and Bevy.

Since I develop on a low-spec laptop (4GB RAM, Intel Pentium Gold with integrated graphics), keeping everything lightweight and CPU-friendly has been my main goal. Here is what’s new in V.3.0:

  • Custom 2D Ray Tracing from Scratch: No external ray-tracing crates or pre-built lighting systems—I wrote the ray-tracing logic manually to handle light propagation, shadows, and underwater refraction.
  • Upgraded Fluid Physics: Smoother particle interactions between water, viscous oil (which floats due to lower density), steam, and interactive objects like an absorbent sponge, heavy iron block, and heater chamber.
  • Full GUI & Save/Load System: Added proper UI menus so you can save your worlds and progress and jump back in anytime.
  • Native Desktop Focus (Linux & Windows): Dropped WebAssembly/browser support in this version to unlock full native performance for the ray tracing and physics loops.

Still running in a crisp 800x600 window with live FPS and particle counters.

Download the Linux & Windows builds on itch.io:https://omx44445.itch.io/ma-box

Would love to hear your thoughts or feedback, especially on the lighting and fluid behavior!


r/bevy • • 19h ago

Making gunplay more impactful, also enhancing squad AI, basic dismemberment, enemies firing when floored, limb ragdolls, switchign gun to other arm etc

8 Upvotes

Took some feedback from redditors on making gunplay more impactful


r/bevy • • 10h ago

How I Split Character Attacks Across Multiple Entities

Thumbnail youtube.com
7 Upvotes

r/bevy • • 15h ago

Phalanx: level themes/skinning

Thumbnail youtu.be
5 Upvotes

My levels were looking a bit drab with just a checkered floor and grey walls, and I wanted different settings (outdoors, in a keep, in a cave), so yesterday added a configurable per level theme with different visuals for each. The video shows the same captured gameplay using the original and all three new visual styles.

My first attempt imported some assets I have for rocks, trees, and dungeon walls. That looked kind of ok with the keep assets, but the cave and outdoor looked terrible. So instead the cave walls and outdoor rock walls are procedurally generated meshes, with the rock/tree assets sprinkled on for additional decoration. Keep just needed some fill between the wall tiles.

I thought it was neat to be able to cut together a gameplay clip with the same gameplay and changing the visuals. This is enabled by the replay capture and playback mechanism I've got; I can then playback the same replay once on each theme, recording a video of each, then throw them all into ClipChamp, line up the timing and add the transitions.