RustConf 2018 - Closing Keynote - Using Rust For Game Development by Catherine West
Rust Programming LanguageYouTube ↗
Further reading 1
Caption notes
At RustConf 2018, Catherine West draws on Starbound to discuss how to model game state. Damage and collisions involve multiple entities, and putting updates on individual entities can leave a method borrowing more state than it needs. Starting from a minimal game loop, she works toward collections organized by component, with systems that process the components they need. She also explains why an entity index can carry a generation, so that a stale index does not point to a different entity when its slot is reused.
Archived captions (transcription method unspecified) ↗Original passages · 2
cross-cutting concerns things like damage or collisionone extra field which is called a generation