Slightly regarding my previous questions above with GUI etc:
The vector_align works great! I now want to make sure there’s a “gap” from the camera view to the top of the screen.
For the 720x1280 example, let’s say the top 100 pixels are ‘reserved’ for GUI. I don’t want the gameplay camera to expand to this area.
Setting aspect ratio to 720x1180 and checking Use View Area, and Fixed Aspect Ratio solves this for me… as long as the window is 720x1280. If I make it wider, the camera will maintain aspect but eventually cover all the screen height.
I need to make sure the height never goes past 92% of available height.
I guess this should be fairly easy to set by copying the renderscript to a custom render script, and modifying parameters based on window size somehow?
I’m unsure on where to start though. I tried print out on every update:
print(render.get_window_height() .. ' -- ' .. render.get_height())
But that prints DEBUG:SCRIPT: 1280 -- 1280
no matter what width I change my window to, but changing window size still updates rendercam behaviour so I know the system reflects width changes still.
Any suggestion?