Commit Graph

5 Commits

Author SHA1 Message Date
Brian Fertig f58a01734e feat: Add 4 new music tracks and improve loading progress UI across scenes
- Added track_05.mp3 through track_08.mp3 with corresponding metadata to tracks.json
- Implemented consistent loading progress text (960,540 center, white on black stroke) in MainMenuScene, NewPuzzleScene, and PuzzleScene
- Added per-scene load progress listeners to show real-time loading percentage
- Ensured proper cleanup of progress text and event listeners on load completion
2026-04-05 17:40:13 -06:00
Brian Fertig 9a353dbacf feat(ui): overhaul main menu with animated intro and modernized styling
- Replace static graphics-based UI with DOM-based buttons for better accessibility and styling control
- Add animated intro sequence (logo drop-in, sub-logo rise, button fade-in) with idle breathing pulse effect
- Implement persistent menu music using global sound manager with mute state persistence via localStorage
- Redesign color scheme to use deeper blues (#1565c0, #1e88e5) and accent gold (#ffbb4d) throughout menus
- Standardize DOM element sizes to fixed pixels instead of relative units (vmin)
- Refactor NewPuzzleScene to load background image only when needed and improve visual hierarchy
- Update button styling with consistent hover states, transitions, and disabled states
- Add puzzle piece preview cards with improved selection feedback (orange highlight)
- Stop menu music on entering PuzzleScene to avoid overlap between scenes
2026-04-05 10:19:54 -06:00
Brian Fertig 535825ba20 feat: Add main menu assets and refactor puzzle thumbnail handling
- Add main menu UI image and background music (with updated track metadata)
- Rename puzzle assets to include `.png` extensions for consistency
- Introduce `thumbnails.json` manifest to decouple thumbnail paths from puzzle data
- Update `NewPuzzleScene.js` to load thumbnails explicitly via manifest instead of inferring paths
- Update `PuzzleScene.js` to ensure full puzzle images are loaded fresh on initial entry (not during network joins or restores)
2026-04-05 09:53:11 -06:00
Brian Fertig baf8653f81 refactor: update music track metadata format and display
- Change tracks.json from string array to structured objects with path, title, artist
- Update PuzzleScene to use new metadata format for audio loading and track info display
- Add DOM element to show current track title and artist in the UI
2026-04-05 08:53:09 -06:00
Brian Fertig 7baa414e7d feat: add audio system with SFX and music player
- Add click/grab sound effects for puzzle interactions
- Implement background music player with queue management
- Include mute/skip controls in UI (top-right)
- Load and play tracks from assets/audio/music/tracks.json
- Store mute preference in localStorage
2026-04-04 22:24:43 -06:00