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, room, or prop facts you define. The ECS page shows plain Component structs and commands.spawn.
  • Resources: one seed and a generator state you own as a Resource (see bevy-data-resources). Do not invent a Bevy RNG type.
  • Systems: fill the resource on Startup, then spawn entities from that data. Use .chain() so spawn sees the finished grid.
  • Schedule: Startup for a one-shot map. A streaming map is a later system on Update. Check the docs for a background-thread API before leaving the main schedules.

Coming from Godot

Installs
4
GitHub Stars
850
First Seen
3 days ago