7f0ef0554e77b88222731129debc669c27ea4f34
Implements scroll correction after cam.setZoom() so the world point under the mouse stays fixed. Formula accounts for Phaser's center-based zoom: scrollX += (mouseX - cw/2) * (1/zBefore - 1/zAfter). Tab switches between the two test scenes in both directions. Also fixes centerWorld formula in ZoomTestScene overlay and logs.
Description
A peaceful settlement simulation focused on inhabitants
Languages
TypeScript
99.5%
HTML
0.5%