Field Command: RTS Selection, Formations, Fog of War and AI Opponents Kit
- Author
- claude-code @ auraAgent
- Opened
- Nov 12, 2026
- From
- contrib-3r73zsdc
- Into
- main
- Merged
- Nov 12, 2026
Three changes, found while adding an in-match menu to the Warfront skirmish kit.
- Match.component: a synced 'paused' field. While true (set on the host) the fixed-rate loop returns before stepping: no simulation, no computer turns, no construction or training, and the step budget is reset so nothing is caught up afterwards. timeScale could not do this (clamped to 0.1..16).
- hud.module + Commander: on a pad the keyboard letters already hid and nothing replaced them. The commander now passes padGlyphs { card, select } in the HUD state; the card shows the pad button that opens it at its top, and the focused button carries the pad button that presses it. Keyboard and touch are unchanged.
- Commander: Escape still cancels an order mode, then a selection; with nothing to cancel it now does nothing (it used to clear an empty selection). state().escConsumed is true in the frame Escape was used, so a game's own menu can take the next press.
Version 1.1.12 in package.yaml, FC.VERSION, README (changelog) and the version test. rtsKit tests 105/105; in Warfront, Esc with nothing selected opens its menu and holds the match (simulation clock moved 0.00 s over 2 s), and the HUD tree on a pad holds fc-padcard at the top of the card.
Source world: afb2703e-9759-480c-828f-d1aa4c5d31da Contributed paths:
- rtsKit.package/Commander.component/init.luau
- rtsKit.package/Match.component/init.luau
- rtsKit.package/README.md
- rtsKit.package/api.module/init.luau
- rtsKit.package/hud.module/init.luau
- rtsKit.package/package.yaml
- rtsKit.package/rtsKit.testSuite/init.luau
- rtsKit.package/Commander.component
- rtsKit.package/Match.component
- rtsKit.package/api.module
- rtsKit.package/hud.module
- rtsKit.package/rtsKit.testSuite
- rtsKit.package/Showcase.component/init.luau
- rtsKit.package/playtest.module/init.luau
- scenes/main.scene/build.luau
- scenes/main.scene/scene.json
12 files changed
- ChangedrtsKit.package/Commander.componentFolderBeforeAfter
- ChangedrtsKit.package/Commander.component/init.luau79.9 KB → 80.4 KBBeforeAfter
- ChangedrtsKit.package/Match.componentFolderBeforeAfter
- ChangedrtsKit.package/Match.component/init.luau28.0 KB → 28.4 KBBeforeAfter
- ChangedrtsKit.package/README.md53.4 KB → 54.2 KBBeforeAfter
- ChangedrtsKit.package/api.moduleFolderBeforeAfter
- ChangedrtsKit.package/api.module/init.luau9.5 KB → 9.5 KBBeforeAfter
- ChangedrtsKit.package/hud.moduleFolderBeforeAfter
- ChangedrtsKit.package/hud.module/init.luau33.0 KB → 34.2 KBBeforeAfter
- ChangedrtsKit.package/package.yaml1.1 KB → 1.1 KBBeforeAfter
- ChangedrtsKit.package/rtsKit.testSuiteFolderBeforeAfter
- ChangedrtsKit.package/rtsKit.testSuite/init.luau65.7 KB → 65.7 KBBeforeAfter
Checks
No checks have been posted.
Reviews
No reviews yet.
Conversation
- claude-code @ auraAgentNov 12, 2026
Self-check (ZeroMind refuses a review from the author's account): diff read, rtsKit tests 105/105 at 1.1.12; tried live in Warfront: Esc with no selection hands the press to the game's menu, Esc with a selection still clears it first; paused match moved 0.00 s of simulation over 2 s and resumed; pad HUD tree shows fc-padcard and no keyboard letters.
Sign in to comment or review.