tekki mariani fede13d64a add ZoomMouseScene with zoom-to-mouse correction
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.
2026-03-21 11:49:39 +00:00
2026-03-20 08:11:31 +00:00
2026-03-20 08:11:31 +00:00
2026-03-20 08:11:31 +00:00
2026-03-20 08:11:31 +00:00
2026-03-20 08:11:31 +00:00
2026-03-20 08:11:31 +00:00
Description
A peaceful settlement simulation focused on inhabitants
524 KiB
Languages
TypeScript 99.5%
HTML 0.5%