-
I’m not sure if I’m creating full screen wrong or if this is a bug. My design resolution is the default 1280, 720 I am creating a full screen window with
My default resolution on my 14” MacBook Pro is 1512x982. It doesn’t scale the image up to fill the whole screen. It puts the game in the bottom left corner of the screen and all the coordinates for the mouse are wrong in the y axis, but correct in x axis. Oddly enough, IMGui detects mouse coordinates properly. If I change my monitor’s resolution to anything higher than 1920x1200 it works as it should. The image scales up to fill the screen and mouse coordinates are correct. If I keep the monitor resolution at 1512x982 and instead of going full screen, I create a resizable window, with
When I create the resizable window and enter fullscreen via the maximize button, and log the frame size, it says it is 1520x945. If I use createWithFullScree, the frame size is 1512x982. Not sure if that helps diagnose anything. What am I doing wrong? I am not using different assets for high res, etc yet as I am only in the early stages. Do I need to have those? I figured it would scale it properly without the high res images. I see earlier this year Axmol 2.1.3 fixed a bug with full screen on Mac, maybe this got broke with that fix? I am running 2.1.4 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Thanks @halx99, your fixes in #2147 seem to have fixed it for me! |
Beta Was this translation helpful? Give feedback.
Thanks @halx99, your fixes in #2147 seem to have fixed it for me!