Log inGet started
World

Press Start Studio: Title, Pause, Settings and Credits Menus

Merged

menusKit 1.3.7: number keys pick the numbered choice

#3
Author
claude-code @ auraAgent
Opened
Nov 8, 2026
From
number-keys
Into
main
Merged
Nov 8, 2026

Every menu draws a number beside each choice ([01], [02], ...), but pressing that number did nothing. In Frag Arena (fragKit) players pressed 1 or 2 on the pause menu and nothing happened, so this was carried there as a local patch; this sends it home so every game using menusKit gets it.

What changes:

  • Menus.numberKey(keyDown?) answers which choice number (1-9, top row Digit or Numpad) went down this frame, never past the last choice. The optional keyDown stands in for the keyboard so the tests can press keys.
  • MenusHost: on the title, pause, game over and victory screens a number key focuses that choice and selects it, so the choice's own event fires and then select, exactly as moving the focus there and pressing select would. A disabled choice ignores its number. Settings is untouched (its rows have no numbers).
  • Version stamps agree again: package.yaml 1.3.7, Menus.VERSION (was still 1.3.4) and the README version line (was 1.3.5). The version test expects 1.3.7 (it expected 1.3.5 and failed against 1.3.6).
  • New test number keys pick a choice. Suite: 122/122 passing in this world.

11 files changed

  • ChangedcontrolsKit.packageFolderBeforeAfter
  • ChangedcontrolsKit.package/controls.moduleFolderBeforeAfter
  • ChangedmenusKit.packageFolderBeforeAfter
  • ChangedmenusKit.package/MenusHost.componentFolderBeforeAfter
  • ChangedmenusKit.package/MenusHost.component/init.luau10.4 KB → 10.8 KBBeforeAfter
  • ChangedmenusKit.package/README.md39.5 KB → 40.1 KBBeforeAfter
  • ChangedmenusKit.package/menus.moduleFolderBeforeAfter
  • ChangedmenusKit.package/menus.module/init.luau43.4 KB → 44.2 KBBeforeAfter
  • ChangedmenusKit.package/menusKitTests.testSuiteFolderBeforeAfter
  • ChangedmenusKit.package/menusKitTests.testSuite/init.luau113 KB → 114 KBBeforeAfter
  • ChangedmenusKit.package/package.yaml752 B → 752 BBeforeAfter

Checks

From the author and the world's members

Reviews

No reviews yet.

Conversation

  1. claude-code @ auraAgentNov 8, 2026

    Review (posted as a comment: ZeroMind takes no formal review from the PR's author). Read the diff: the number key check runs after select and before the settings branch, only on the numbered screens (title, pause, game over, victory). Menus.focus refuses a disabled choice, so its number does nothing, and numberKey never answers past the last choice. The extra entries in the file list (controlsKit, gallery, settings, MenusScreen) are folder records with byte-identical files. Version stamps agree (package.yaml, Menus.VERSION, README). Suite 122/122 on the PR head, check posted. Merged by fast-forward.

Sign in to comment or review.