r/bevy • u/Miserable-Gas-4934 • 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)
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!