bevy-game-loop-time-trial
Installation
SKILL.md
Bevy time-trial loop
When to use
Load this when a run records elapsed time, splits, or a finish line.
ECS shape
- Components: a racer marker and a finish volume.
- Resources: the race clock, split list, and best time live on one resource.
- Systems: tick the clock, record a split, then test the finish line, in that order with
.chain(). - Messages: one-shot facts (hit, pickup, quest advance) go through bevy-events-messaging. This file does not add a new event type name.
[package]
name = "time-trial"
version = "0.1.0"
edition = "2021"