You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In summary, the camera with a zoom of 1 works as expected and appears normal on my msi laptop, i.e. placing tiles at the top left and bottom right of the GUI in the editor appears as below on the msi machine (920 x 1080) resolution:
but the same settings and tiles appear as below on my Microsoft surface pro laptop (2736 x 1824) resolution:
In summary, the camera with a zoom of 1 works as expected and appears normal on my msi laptop
but the same settings and tiles appear as below on my Microsoft surface pro laptop (2736 x 1824) resolution:
I have been working on a new version of this camera extension which uses the standard Defold camera component instead of a script which mimics the camera behavior. This version of the camera extension also does a best effort DPI ratio calculation on startup to keep zoom consistent regardless of the scaling factor of the screen. You can test this version by setting this as your dependency:
That fixed it, thanks. Setting your new version as the dependency fixed the zoom and resolution problem on my surface pro. Below is a screenshot of the same project pasted above:
This issue is being submitted after discussion from this thread: https://forum.defold.com/t/trying-to-understand-camera-projections-and-game-screen-size/79318/8
In summary, the camera with a zoom of 1 works as expected and appears normal on my msi laptop, i.e. placing tiles at the top left and bottom right of the GUI in the editor appears as below on the msi machine (920 x 1080) resolution:
but the same settings and tiles appear as below on my Microsoft surface pro laptop (2736 x 1824) resolution:
minimal project attached.
for-github-issue.zip
The text was updated successfully, but these errors were encountered: