I’m trying to get a portrait view setup in both the LY Editor as well as on device, and am running into a few problems:
(1) There’s no way that I can find to set a portrait aspect ratio / resolution in the editor and have it “stick”. I’ve tried modifying the aspect ratio and resolution settings in the top right top right of editor view, but it simply resizes the containing window as much as it can. E.g., setting window res to “750x1334” only lets me do “750 x 821”, and any movement on the window will resize that view. Makes it rather difficult to work close to the final view of the game.
(2) On device the aspect ratio is wrong - looks like it’s using the default resolution (1280x720) as the aspect ratio.
PC Build: (1280x720 - correct aspect ratio, given by black square in center)
Android Build (Nexus 5, 1920x1080, using 1280x720 aspect ratio) – black square is very … unsquarelike … :
re: 1: The safe frames only include landscape aspect ratios. Any way to have that include portrait? (e.g. 9:16)? Outside of “locking” the view to portrait mode, it would be quite useful to just be able to see what I can expect on device.
re: 2: Is there a good way to update the device W/H so that the aspect ratio can be updated accordingly? Updating autoexec.cfg to match the device res helps, but unsure how to pull it automatically? See below - manually setting r_Width/r_Height to 1080x1920 in autoexec.cfg yields the correct result: