Posted February 03, 2024 by anthonyec
I noticed in a few videos and screenshots from other people that UI looked weird, but I thought they had just zoomed in or something. Turns out the UI was super chunky on 1x displays.
I develop the plugin on a Mac with a retina display (2x), and assumed Godot’s UI would take care of all the scaling. But it doesn’t seem to. That’s been fixed now by making sure everything is aware of the editor scale.
There was also a problem with portrait aspect ratios. The plugin just straight up didn’t handle anything except landscape, so you couldn’t preview mobile games correctly. I’ve now rewritten all the sizing code to support any aspect ratio, with a little extra fix to prevent sub-pixel wobbly artifacts when resizing.