Skip to content

Midnight Ops: no stretched view in full screen on iPhone; full screen button - #358

Merged
ngcoding10 merged 1 commit into
mainfrom
claude/gifted-albattani-557kuw
Nov 27, 2026
Merged

ngcoding10 merged 1 commit into
mainfrom
claude/gifted-albattani-557kuw

Conversation

@ngcoding10

Copy link
Copy Markdown
Collaborator
  • Fix: stretched picture with Safari's toolbar hidden.
    • On iPhone, hiding Safari's toolbar (or turning the phone) left the 3D view drawn at the old size and stretched to fit, while the HUD was fine.
    • Cause: iPhone Safari reports a resize before the page actually has its new size.
    • The view now follows the game area's real size, so full screen shows more of the scene at full sharpness instead of stretching.
  • Pause menu:
    • A Full screen button where the browser lets a page go full screen (Android, iPad, computers).
    • On iPhone, a tip to use Safari's aA → Hide Toolbar instead (also shown if the browser refuses).
    • Spanish included.
  • Pages affected: only e63334287a3deaa3/ironveil/ (admin preview). Nothing risky: no storage, workflow or config changes.
  • No What's new entry: players can't see the game yet (admin preview only).

Tested:

  • Changed the screen size after start-up, and changed only the game area with no resize signal. The 3D view matched the new size and shape every time.
  • Mission 1 plays through.
  • The pause menu fits on a sideways phone.
  • No console errors.

Generated by Claude Code

…creen button

- The 3D view follows the game area's real size (a ResizeObserver plus delayed
  re-checks after resize, rotation, full screen and visual-viewport changes),
  because iPhone Safari reports a resize before the page has its new size. Going
  full screen now shows more of the scene at full sharpness instead of
  stretching the old picture.
- Pause menu: a Full screen button where the browser allows it; on iPhone, a tip
  to use Safari's Hide Toolbar instead. Spanish included.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7HP4RvtJycwLW1jZr
@ngcoding10 ngcoding10 added the no-news label Nov 27, 2026 — with Claude
@netlify

netlify Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for cosmic-dasik-e73c56 ready!

Name Link
🔨 Latest commit 85e96c6
🔍 Latest deploy log https://app.netlify.com/projects/cosmic-dasik-e73c56/deploys/6b09ae5e87f3669803de4543
😎 Deploy Preview https://deploy-preview-358--cosmic-dasik-e73c56.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ngcoding10
ngcoding10 merged commit 8613a6f into main Nov 27, 2026
5 of 8 checks passed
@netlify

netlify Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for ascoding11 ready!

Name Link
🔨 Latest commit 85e96c6
🔍 Latest deploy log https://app.netlify.com/projects/ascoding11/deploys/6b09ae5ef861714456083062
😎 Deploy Preview https://deploy-preview-358--ascoding11.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

2 participants