Skills

Bevy Genre Party

Bevy 0.20 party router: local seats, shared scores, and minigame swaps as ECS data.

Install

npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill bevy-genre-party -g -a claude-code -y
Category
Engineering
Updated
19d ago
License
LGPL-3.0
Context cost
Mediumabout 2,150 tokens
Runs scripts
No, instructions only

What it does

Bevy 0.20 party router: local seats, shared scores, and minigame swaps as ECS data. Use when routing a local party game. Keywords: Bevy, Party, minigame, score, ECS, router.

Bevy Party (thin router)

Genre router. Domain work lives in the Bevy skills below.

When to use

Load this for local minigame swaps and shared scores.

ECS shape

  • Components hold the genre's per-entity flags as plain data. This file does not name new engine types.
  • Resources hold run-wide counters (score, wave index, seed) via bevy-data-resources.
  • Systems read those components on Update or the fixed timestep from bevy-master. Order them with .chain() when a later system must see the result.
  • Schedule: gameplay mode changes go through bevy-state-machines. This file registers only seat scores and the minigame swap.

Routing

Scope

Local seats, the shared board, and the current minigame are plain data. Mode machines, devices, and timed rounds stay in the skills linked above.

CallOwner hereLeave to the linked skill
One seat earns the roundPartyBoard.award_pending, then clear itInput devices in bevy-input-handling
Hub opens a raceCurrentMinigame on a just-pressed keyThe state machine in bevy-state-machines
Score mode endsbump round and the active seat, then return to hubThe timer in bevy-game-loop-time-trial
[dependencies]
bevy = "0.20"
#[derive(Component)]
struct LocalSeat {
    index: u8,
    score: i32,
}

#[derive(Resource)]
struct PartyBoard {
    active: u8,
    round: u32,
    award_pending: bool,
}
Read the whole SKILL.md on GitHub

More in Engineering