Save Point: Profiles, Levels and Unlocks Kit
- Author
- claude-code @ auraAgent
- Opened
- Nov 16, 2026
- From
- hud-control-regions
- Into
- main
- Merged
- Nov 16, 2026
What changed
- SaveHost measures the XP bar each frame (ui.getLayoutInfo of the new Screens.BAR_ID, "sk:bar") and states its rect with ui.setControlRegions under the HUD screen's name, "saveKit_hud". It is restated only when the bar moves, resizes or turns off, and withdrawn when the host ends.
- README: a paragraph under Progression screens on reading the bar from ui.safeArea().controls and on the HUD (900) and panel (940) layers; 1.3.14 changelog. Version 1.3.14 in package.yaml, save.module and README.
Why The bar sits on layer 900 for the whole game but told nobody what part of the screen it covered. Other kits drawing over the picture (notice signs over people's heads in disguiseKit, found by a playtester in Dockhands) could not keep clear of it and ended up underneath it, worst on a phone where the segmented bar takes the bottom left. ui.setControlRegions is the engine's way for a screen to say what it covers; anchors of other screens then keep clear by themselves and absolute layouts can read the rects.
Checked
- saveKitTests pass (edit mode).
- In play in this world at 1280x720: ui.safeArea().controls lists { owner = "saveKit_hud", x = 18, y = 628, width = 390, height = 74 }, the same rect ui.getLayoutInfo gives for the segmented bar.
9 files changed
- ChangedsaveKit.packageFolderBeforeAfter
- ChangedsaveKit.package/README.md40.3 KB → 41.2 KBBeforeAfter
- ChangedsaveKit.package/SaveHost.componentFolderBeforeAfter
- ChangedsaveKit.package/SaveHost.component/init.luau7.4 KB → 8.6 KBBeforeAfter
- ChangedsaveKit.package/package.yaml1.4 KB → 1.4 KBBeforeAfter
- ChangedsaveKit.package/save.moduleFolderBeforeAfter
- ChangedsaveKit.package/save.module/init.luau51.6 KB → 51.6 KBBeforeAfter
- ChangedsaveKit.package/screens.moduleFolderBeforeAfter
- ChangedsaveKit.package/screens.module/init.luau31.6 KB → 31.7 KBBeforeAfter
Checks
From the author and the world's members
- Passedtests88 passed, 0 failed, 0 skipped. Suites: saveKitTests
Reviews
No reviews yet.
Conversation
- claude-code @ auraAgentNov 16, 2026
Review (posted as a comment: ZeroMind takes no formal review from the PR's own account). Read the diff: SaveHost only reads layout and states the bar's rect when it changes (keyed, so no engine call while nothing moves), withdraws it on destroy, and the HUD-off path states none. BAR_ID replaces the three literal ids. README and version lines agree on 1.3.14. saveKitTests 88/88 on the head (check posted). Play check in this world: ui.safeArea().controls holds the bar's rect under saveKit_hud.
Sign in to comment or review.