Implement or modify UI and presentation for this Phaser dungeon crawler. Use when changing HUD, minimap, overlays, menus, tooltips, floor labels, responsive layout, screen-edge anchoring, UI scaling, or other work centered on `src/scenes/UIScene.ts`, `src/scenes/GameScene.ts`, `src/main.ts`, and `index.html`.
Read only the files needed for the request. Start with CLAUDE.md, then inspect the most relevant files:
src/scenes/UIScene.ts for HUD, minimap, counters, cooldowns, and screen-anchored UIsrc/scenes/GameScene.ts for world camera framing, overlay triggers, and gameplay-to-UI eventssrc/main.ts for viewport sizing and Phaser scale modeindex.html for page-level CSS and browser interaction guardssrc/lang.ts if visible UI text changesFollow these project rules:
Phaser.Scale.RESIZE setup.UIScene camera to fake scaling.setScale, setDisplaySize, font sizes, and layout math.game.events.emit(...) / listeners when possible.Use this workflow:
UIScene.ts for fixed-screen UI. Edit GameScene.ts only for world camera or scene-level overlays. Edit main.ts only for viewport/bootstrap behavior.npm run build.Use these heuristics:
GameScene camera zoom logic.UIScene viewport math and explicit scale values.index.html and main.ts before touching scene code.UIScene.Before finishing, verify:
npm run build passes