3fdf621966653f57d71a2102adc312176e175ae4
Replaces plain cam.setZoom() with zoom-to-mouse: after each zoom step the scroll is corrected by (mouseOffset from center) * (1/zBefore - 1/zAfter), keeping the world point under the cursor fixed. Also fixes getCenterWorld() which previously divided by zoom incorrectly. Added JSDoc to all methods.
Description
A peaceful settlement simulation focused on inhabitants
Languages
TypeScript
99.5%
HTML
0.5%