iPuzzle/js
Brian Fertig 4d07fcb1c4 feat: implement responsive canvas scaling with Phaser.Scale.FIT and DOM overlay sync
- Replace manual CSS scaling in index.html with Phaser's built-in FIT mode,
  ensuring canvas always fits viewport while maintaining 1920×1080 aspect ratio.
- Add scale configuration to game config (Phaser.Scale.FIT, CENTER_BOTH).
- Refactor all DOM UI overlays to use fixed 1920×1080 dimensions with
  transform-origin: top-left and dynamic scaling based on canvas rect.
- Implement _syncOverlayToCanvas() in MainMenuScene, NewPuzzleScene, and
  PuzzleScene to keep DOM overlays perfectly aligned during resize events.
- Fix UI element positions in MainMenuScene and NewPuzzleScene to match new
  coordinate system (e.g., title from -30→45, buttons repositioned).
- Update Phaser CDN version from 3.9.0 to 3.90.0 (likely typo fix).
- Fix particle emitter creation syntax and stop() instead of on=false.
- Clean up resize listeners on scene shutdown to prevent memory leaks.
2026-04-05 23:17:14 -06:00
..
net feat: add player name support for rooms and networked gameplay 2026-04-04 20:58:41 -06:00
puzzle Added 180 and 250 piece puzzle options 2026-04-05 19:36:46 -06:00
scenes feat: implement responsive canvas scaling with Phaser.Scale.FIT and DOM overlay sync 2026-04-05 23:17:14 -06:00
state feat: add real-time puzzle timer and player list UI 2026-04-05 12:42:21 -06:00
main.js feat: implement responsive canvas scaling with Phaser.Scale.FIT and DOM overlay sync 2026-04-05 23:17:14 -06:00