bevy-procedural-generation

Installation
SKILL.md

Bevy procedural generation

When to use

Load this when a level, loot table, or map should be reproducible from a seed, and you need the ECS shape. Spawning the finished layout uses Commands on Startup or a later schedule you already use. Saving the seed belongs on bevy-save-load.

ECS shape

  • Components: cell facts you define, spawned with Commands.
  • Resources: one RunSeed for the whole run. The generator reads it; it does not invent a Bevy RNG type. rand 0.9 supplies StdRng.
  • Systems: insert the seed on Startup, then spawn from that data. .chain() so the spawn system sees the seed.
  • Schedule: Startup for a one-shot map. A streaming map is a later Update system that still reads the same seed.
[dependencies]
bevy = "0.20"
rand = "0.9"
Installs
55
GitHub Stars
982
First Seen
Oct 11, 2026