Login

Fancade Wiki

Updated What zoom will fit a given number of blocks on screen?.md (markdown)

... ...
@@ -4,6 +4,6 @@ Assuming you're making a top-down view game, zoom = 5 * block width. E.g. to fit
4 4
5 5
What about height? Well, different users will have different screen sizes, so even with a fixed width the height is variable. But like the image shows, you can compute it by multiplying width by the screen's aspect ratio.
6 6
7
[[/uploads/IMG_20190818_234312.png]]****
7
[[/uploads/IMG_20190818_234312.png]]
8 8
9 9
Zoom automatically adapts to the smallest dimension, so in landscape mode the role of height and width are reversed.
... ...
\ No newline at end of file
Fancade Wiki