2 Commits
Author SHA1 Message Date
Mike LiuandClaude Opus 4.6 54048c6bac feat: add polished loading overlay with progress bar
Replace the bare "Please wait... Loading webassembly" text with a
branded loading screen featuring a Rosebud logo (base64-embedded),
rotating theme-park phrases, gradient progress bar, and phase labels
that track actual engine/asset loading stages.

- rosebud/static/index.html: dark overlay with CSS animations, JS
  helpers (updateLoadingBar, showLoadingError, dismissOverlay)
- rosebud/static/index.js: fork copy of upstream index.js wired to
  report 14 progress stages and 6 error paths through the overlay
- .claude/verification.md: project-specific verification instructions

Key fixes during development:
- Canvas must be visible before callMain() for WebGL init
- Progress helpers use window scope so file-level functions can call them
- Body flex layout reset on dismiss to prevent canvas offset

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 23:27:25 +00:00
Mike LiuandClaude Opus 4.6 748b1174e3 refactor: move mobile index.html overrides to rosebud/static/
Create rosebud/static/index.html with our mobile/touch additions
(viewport meta, overflow hidden, touch-action none) instead of
modifying the upstream emscripten/static/index.html. Build process
should copy rosebud/static/* over upstream static files.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 22:27:42 +00:00