[-] jamesfebin@programming.dev 1 points 3 days ago

Thank you. In a month hopefully.

34

Tutorial Link

Continuing my Rust + Bevy tutorial series. This chapter demonstrates data-oriented design in Rust by refactoring hardcoded character logic into a flexible, data-driven system. We cover:

Deserializing character config from external RON files using Serde Building generic systems that operate on trait-bounded components Leveraging Rust's type system (HashMap, enums, closures) for runtime character switching The tutorial shows how separating data from behavior eliminates code duplication while maintaining type safety—a core Rust principle that scales as your project grows.

25
submitted 1 week ago* (last edited 1 week ago) by jamesfebin@programming.dev to c/rust@programming.dev

Chapter 2 - Let There Be a World (Procedural Generation) This chapter teaches you procedural world generation using Wave Function Collapse and Bevy.

A layered terrain system where tiles snap together based on simple rules. You'll create landscapes with dirt, grass, water, and decorative props.

By the end, you'll understand how simple constraint rules generate natural-looking game worlds and how tweaking few parameters lead to a lot of variety.

It also gently touches on rust concepts like references, lifetimes, closures, generic and trait bound. (Hoping to go deep in further chapters)

jamesfebin

0 post score
0 comment score
joined 1 week ago