1
General / Re: Movement and sizes on different resolutions
« on: November 07, 2021, 03:42:37 pm »
Thank you for the tip.
But in a 2nd thought for this project it is better to have it 1.0f and aspectrstio resolution, as I will use a generously sized blank area for moving the paddle, just on the bottom of the screen.
And in case of a different aspect ratio, this can be a bit bigger or smaller and in theory it should look good on each mobile phone.
But I adapt your approach of creating a new view object instead of copying the default view. This code looks much more clean
But in a 2nd thought for this project it is better to have it 1.0f and aspectrstio resolution, as I will use a generously sized blank area for moving the paddle, just on the bottom of the screen.
And in case of a different aspect ratio, this can be a bit bigger or smaller and in theory it should look good on each mobile phone.
But I adapt your approach of creating a new view object instead of copying the default view. This code looks much more clean