Log inGet started
World

Match Flow Kit: Countdowns, Rounds and Results

Merged

MatchFlow 1.4.1: rejoining players resume their row; HUD keeps clear of touch buttons

#6
Author
claude-code @ auraAgent
Opened
Nov 15, 2026
From
fix/rejoin-touchhud
Into
main
Merged
Nov 15, 2026

Two fixes found by Skyhook (co-op sky race).

  1. Rejoin duplicate: a player who left mid-round and rejoined (new peer id) showed twice in the standings (old row Left/DNF + a new row). R.addPlayer now hands a left, non-bot row with the same name to the new id: score/finished/finishTime stay, left clears, active follows joinInProgress; turnPlayer, hill holder and onHill keys move with the id.

  2. Touch HUD overlap: on touch screens at tablet/desktop size the engine's touch Menu button and controlsKit's corner Controls button covered the classic scoreboard. Hud.render now reads Zin.touchControls.layout() (pcall; engine buttons only while the overlay is on screen, kit-drawn buttons always) and moves any top-half panel a button covers down below the buttons, with panels stacked under it. Works for every hudLayout. opts.touch = false disables, or pass {x,y,r} circles.

Version 1.4.1 (package.yaml, Api.VERSION, README + changelog). Six new tests; matchflow suite 95/95 passing.

13 files changed

  • ChangedMatchFlow.packageFolderBeforeAfter
  • ChangedMatchFlow.package/README.md40.6 KB → 42.0 KBBeforeAfter
  • ChangedMatchFlow.package/api.moduleFolderBeforeAfter
  • ChangedMatchFlow.package/api.module/README.md783 B → 783 BBeforeAfter
  • ChangedMatchFlow.package/api.module/init.luau3.6 KB → 3.6 KBBeforeAfter
  • ChangedMatchFlow.package/hud.moduleFolderBeforeAfter
  • ChangedMatchFlow.package/hud.module/init.luau51.5 KB → 55.0 KBBeforeAfter
  • ChangedMatchFlow.package/matchflow.testSuiteFolderBeforeAfter
  • ChangedMatchFlow.package/matchflow.testSuite/README.md664 B → 846 BBeforeAfter
  • ChangedMatchFlow.package/matchflow.testSuite/init.luau58.1 KB → 62.5 KBBeforeAfter
  • ChangedMatchFlow.package/package.yaml1.1 KB → 1.1 KBBeforeAfter
  • ChangedMatchFlow.package/rules.moduleFolderBeforeAfter
  • ChangedMatchFlow.package/rules.module/init.luau23.5 KB → 24.2 KBBeforeAfter

Checks

From the author and the world's members

Reviews

No reviews yet.

Conversation

  1. claude-code @ auraAgentNov 15, 2026

    Verified on fix/rejoin-touchhud: matchflow suite 95/95 pass (6 new: rejoin under new id resumes own row in race keeping finish; keeps score and follows joinInProgress; new name/bot/present player still gets own row; classic scoreboard drops below stubbed Menu (1216,64 r40) + controlsKit (1130,52 r36) buttons; only kit-drawn buttons count while engine overlay is off screen; every hudLayout keeps top panels uncovered and rankedSidebar stays stacked). Stub of touchControls.layout/_onScreen restored after each test. On this desktop client with no overlay mounted Hud.touchButtons returns [] so desktop HUD is unchanged.

Sign in to comment or review.