About resolution, pixel art and size

This works wonders for my application. The camera will zoom by full integers only when both the width and height of the window supports it. Because of this you must expect some resolutions will show content outside of the original game resolution, but at least your pixel art will always stay crisp and square.

Your UI should use anchors since the resolution is dynamic.

2 Likes