Skip to content

Warm floor loads in an elevator with emergency escape and adaptive graphics - #381

Open
hoodmatriarch wants to merge 1 commit into
AgentSystemLabs:mainfrom
hoodmatriarch:codex/smoother-floor-loading
Open

hoodmatriarch wants to merge 1 commit into
AgentSystemLabs:mainfrom
hoodmatriarch:codex/smoother-floor-loading

Conversation

@hoodmatriarch

Copy link
Copy Markdown

Floor changes can expose scene construction and first-use GPU stalls, while high-resolution rendering and the outline/shadow passes keep slower devices choppy. Floor travel now waits in an elevator cabin while models settle and graphics warm up, then opens automatically. Quiet original music follows the sound settings; after 15 seconds an Emergency button lets the player leave a stalled wait. Closing with X or Esc also cancels, and delayed trip callbacks cannot teleport the player after cancellation.

The new module uses the message and frame registries. It also caps initial 3D pixel ratio at 1.25 and reduces resolution, shadows and outline passes only after sustained slow rendering. Interface text retains normal browser resolution. README and docs/performance.md describe the behavior.

Validation:

  • npm run typecheck and npm run build pass.
  • 10 focused loading, architecture and size tests pass.
  • Headless Edge verifies a deliberately stalled shader compile, the real 15-second emergency control, normal automatic completion, X/Esc cancellation, ignored late completion and no page errors. Loading and emergency screenshots were inspected.
  • npm test was attempted with a 45-second test timeout; existing Windows clone/DSH agent process tests failed and the run stalled, so it was stopped. The complete suite is not green on this host.

The local deployment combines this branch with the user's existing custom-floor branch in a separate integration worktree; those unrelated custom features are not included in this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant