Skip to content

Add first-person forest explorer game#2

Open
coatsnmore wants to merge 1 commit intomainfrom
codex/add-first-person-forest-exploration-game
Open

Add first-person forest explorer game#2
coatsnmore wants to merge 1 commit intomainfrom
codex/add-first-person-forest-exploration-game

Conversation

@coatsnmore
Copy link
Copy Markdown
Owner

Summary

  • add new first-person Forest Explorer game built with Three.js
  • link game into site navigation and add page wrapper
  • document new game in README

Testing

  • npm test (fails: Missing script "test")
  • npm run build

https://chatgpt.com/codex/tasks/task_e_6897b4e45698832498d5fcc68387f417

@coatsnmore
Copy link
Copy Markdown
Owner Author

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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".

Comment on lines +7 to +13
<iframe
src="/forest-explorer/index.html"
width="100%"
height="100%"
frameborder="0"
style="border: none;"
></iframe>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[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 👍 / 👎.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant