fede13d64a384385f7ff689db7f3dfb7a739f057
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%