rendercam
rendercam copied to clipboard
Screen setup on mobile
I have a 640x960 game area I want to fit the screen area to 640x960 so that the width is always fit if possible while also respecting fixed aspect ratio, but I still want to draw the stuff outside of the area, especially vertically. Is this possible now?
I'm testing the settings now to try and get this but am also finding that there are display differences between desktop/Android target for whatever reason... I can make some samples and send screenshots.
After reading the docs again more carefully it seems Use View Area not being checked is reason of mobile vs desktop differences?
What I want is fixed width like this
But the top/bottom area still drawn.
The Fixed Width checkbox doesn't seem to do this.
So you checked "Use View Area", set the view area X to 640, checked "Fixed Width", and made sure all other scale modes are un-checked?
Yeah, we really need a fixed aspect ratio mode that still uses the full window (no black bars). Last time I checked it was not just a trivial change, but it's definitely something I want to add.
Yeah, if you don't check "Use View Area", then it uses the current window resolution when the camera is init, so this can easily be different on mobile. I'll need to rethink this for a future version.
At the moment I'm using these settings and it seems to work for the most part as long as the window is roughly portrait.