OrbRush.component
README.md
OrbRush
The example game hooked into MatchFlow: a tiny "grab the most orbs" round. It sits on the same synced Match entity as the MatchFlow component and needs that sibling.
While the match is playing, the machine in charge keeps orbCount glowing orbs scattered inside arenaRadius. When a player's body comes within pickupRange, it calls MatchFlow:addScore(body, 1) and respawns the orb elsewhere. The orbs are synced entities, so every player sees the same ones. Outside play they are cleared.
It is about 100 lines, and shows the whole integration: check getPhase(), act only where isAuthority(), and report with addScore.