Skip to content

Fix portable example runtime and gate native/browser execution - #174

Draft
proggeramlug wants to merge 4 commits into
codex/starter-browserfrom
codex/example-loops
Draft

proggeramlug wants to merge 4 commits into
codex/starter-browserfrom
codex/example-loops

Conversation

@proggeramlug

@proggeramlug proggeramlug commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Six portable examples could compile yet omit game content or fail during native/browser startup. Move them to the shared loop and cleanup, correct fractional arithmetic and captured/derived coordinates, and preserve public palette/input bindings through initialized exports. Require actual native and browser game-content execution as well as all 20 native links.

Windows linked fixtures now live beside the checkout. Cross-drive temporary projects caused Perry to collapse distinct module names and MSVC to merge generated globals into unusable executables; the compile gate also rejects those collisions on a zero linker exit. Handle denied pointer-lock requests while retaining retry intent, and release a grant arriving after cursor cleanup.

Validation:

  • Tests run 34584733133 passes all 22 jobs at c414595e016b37e8087928d6c2b37d282497bf47. Hosted and PR Git trees match.
  • All six original compiled browser games render their required content for eight frames, stop normally and clean up once, with no recorded errors or invalid drawing arguments. Space Blaster also closes audio; Voxel Sandbox restores cursor intent.
  • All six native content/capture/cleanup checks and all 20 native links pass locally on Radeon 760M/DX12 and in hosted Windows. Installed native scene/direct/lifecycle modes each pass all 16,384 expected pixels and one cleanup; the installed browser starter passes too.
  • Actual native/WASM public constants and alias identity agree; an attempted engine call is rejected by the pure-WASM guard. Python acceptance controls, production pointer-lock controls and quick contracts pass.
  • Source hashes are verified with recorded newline representations. Local precommit and hosted package reports retain their actual dirty-source flags. Earlier missing-content, numeric-argument, cross-drive and pointer-lock failures remain retained.

Published report and evidence. Archive SHA-256: dae76a5658444ae6416410cbeb5c7e85d7f97b44407ac0f39e15b6133dcc06a9.

These checks cover startup content and cleanup. Full gameplay/input, the broader canonical runtime matrix, pause/focus, device loss, visible Windows presentation and clean distribution remain open. A separate local grid-line candidate still fails reconstruction bounds and is excluded. This does not complete broader API/compiler or hardware/performance acceptance. No PR merge or npm release is included.

Stacked on #173; relates to #142, #74, #140 and #141.

@coderabbitai

coderabbitai Bot commented Sep 11, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@proggeramlug proggeramlug changed the title Fix scalar interpolation and qualify shared-loop examples Fix portable example runtime and gate native/browser execution Sep 11, 2026
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