Let's try building a game with Rust.

Опубликовано: 13 Июль 2026
на канале: Dancing with My Code
1,403
53

Experimenting with writing a game from scratch using Rust Bevy 🦀🦀🦀

The game I wrote is called Zed Mart Zombiefest. The concept is simple: collect all 10 items in the supermarket before the zombies eat you.

However, the difficult part of writing this game was that it runs in an infinite loop. Naturally, we had to carefully structure the states of each object to ensure they were interconnected, and performance was also a major concern.

Furthermore, the most challenging part was writing the rendering code to synchronize the animations with the in-game physics equations. I spent two crazy days and two nights writing this game! 555

If you're interested, you can check out the code and try building and playing it yourself.

Code: https://github.com/Rayato159/zed-mart...