Updated What zoom will fit a given number of blocks on screen?.md (markdown)
commited
commit
f6b2a38fc1e7e348861d4b59ed1a69440e7ebea8
... | ... | @@ -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 |