bevy-app-resources

Installation
SKILL.md

Bevy app resources

When to use

Load this when data or logic must exist for the whole app: one clock, one ruleset, startup spawn, or an ordered pair of systems. Pair with bevy-data-resources for the component-versus-resource split.

ECS shape

  • App. The Apps page: an App contains a World and the outer loop. It initializes resources (one copy), adds systems to a Schedule, and imports other App changes through plugins.
  • Resources. Resource, Res, ResMut, and insert_resource (Resources page). Time arrives from add_plugins(DefaultPlugins).
  • Plugins. The Resources page implements Plugin and inserts the resource inside build. DefaultPlugins is the plugin set that adds Time. Name only the plugins this page documents.
  • Schedules. add_systems(Startup, ...) runs once before other systems. add_systems(Update, ...) is the repeating schedule in the ECS page. .chain() orders systems that must see each other's writes. bevy::ecs::message names FixedUpdate only as the schedule after which signal_message_update_system runs. Fixed-timestep clock types stay in bevy-character-movement.
  • States. App-wide modes are bevy::state, not a global node. See bevy-state-machines.

Coming from Godot

Installs
4
GitHub Stars
850
First Seen
3 days ago