- Add pointerdown handler on each piece to forward the event to the central onTableDown resolver; without it, Phaser's topOnly=true consumes the click and the background never sees it, leaving pieces un-grabbable. - Anchor the hit-area rectangle to the image's displayOrigin instead of (0,0) so the custom hit box tracks the piece's actual rendered position. |
||
|---|---|---|
| .. | ||
| data | ||
| games | ||
| scenes | ||
| services | ||
| ui | ||
| words | ||
| config.js | ||
| main.js | ||