Perfect Zoom


Changes zoom behaviour so that zoom scale snaps to "powers of 2" (4, 2, 1, 0.5, 0.25, ...). This preserves good pixel scaling for sprites but greatly limits the amount of zoom levels in game.

Tweaks
4 hours ago
2.0
0
Owner:
Schnabelberger
Source:
https://forgejo.lpstichternath.de/noo...
Homepage:
N/A
License:
MIT
Created:
4 hours ago
Latest Version:
1.0.0 (4 hours ago)
Factorio version:
2.0
Downloaded by:
0 users

Because Factorio uses sprite graphics, pixel scaling issues can become noticeable. Tolerance for these admittedly minor artifacts varies of course, but i find them extremely annoying.

This mod "fixes" these scaling artifacts by only allowing / snapping to zoom scales that have perfect pixel scaling. Most noticeable around zoom scale 2 and 1.
The tradeoff is that this reduces the available zoom levels. It is possible that with this mod, zooming in one level is too close and zooming out one level is too far, with no in the middle.

Features:
- Zoom scale snapping to powers of 2
- Configurable zoom scale snapping range (eg. only snap to scales 2, 1, 0.5) and zoom normally outside that range
- Optionally extend zoom limits to allow them to also be powers of 2
- Display scale compensation setting to accommodate high resolution or multi display setups