this post was submitted on 19 May 2026
29 points (96.8% liked)

Rust

8026 readers
7 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 2 years ago
MODERATORS
 

Tutorial Link

Continuing my Bevy + Rust tutorial series. By the end, your player can pick up items on the map while the camera smoothly tracks their movement.

Inventory System

Walk near a plant or mushroom and watch it disappear into your inventory. The game logs what you collected and keeps a running count.

  • Automatic pickup when you get close to items
  • Track multiple item types (herbs, flowers, mushrooms, wood)
  • See your total collection in console logs

Camera System

Zoom in 2× for a closer view of your character and world. The camera follows smoothly as you move.

  • Zoomed-in view that shows your character and world up close
  • Smooth camera motion that keeps the player centered

You'll also learn about Rust's borrow checker and its rules while having the usual fun.

you are viewing a single comment's thread
view the rest of the comments

This looks great ! Thanks for sharing.