Conversation
|
@codex review |
There was a problem hiding this comment.
Codex Review: Here are some suggestions.
Reply with @codex fix comments to fix any unresolved comments.
About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you open a pull request for review, mark a draft as ready, or comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex fix this CI failure" or "@codex address that feedback".
| <iframe | ||
| src="/forest-explorer/index.html" | ||
| width="100%" | ||
| height="100%" | ||
| frameborder="0" | ||
| style="border: none;" | ||
| ></iframe> |
There was a problem hiding this comment.
[P1] Permit pointer lock inside embedded iframe
The new forest explorer relies on controls.lock() to request Pointer Lock, but the page embeds the game inside an <iframe> without granting pointer-lock permission. Browsers reject requestPointerLock() from an iframe that lacks allow="pointer-lock", so the overlay never disappears and camera controls never activate. Adding that permission (and keeping it same-origin) will let the game actually capture the mouse.
Useful? React with 👍 / 👎.
Summary
Testing
npm test(fails: Missing script "test")npm run buildhttps://chatgpt.com/codex/tasks/task_e_6897b4e45698832498d5fcc68387f417