pmgl / microstudio

Free, open source game engine online
MIT License
921 stars 103 forks source link

Landscape + force ratio not working as expected on Safari iOS #72

Open pmgl opened 2 years ago

pmgl commented 2 years ago

From https://discord.com/channels/593735633130749972/593813232888578049/935614504564314163

Possibly not a bug, but a platform difference - this past week we built a small "click the different tile" game, with a design goal of making it function well on a touchscreen (https://microstudio.dev/i/Ratatosk/fasttiles/). The new QR code functionality makes that super easy to test with, and for the most part it works well. However, the layout is Landscape / Force 16:9 and while it does what we want on desktop browsers, Safari iOS doesn't rescale it when the device is in Portrait orientation - it just cuts the board off. Rotating the device to Landscape mode makes it work fine.