I want my game to fit every resolution, currently it fits my phone which has the resolution of 1920x1080
but when i switch to a 3120 x 1440 resolution, the game is not stretching to the whole screen and thats the effect im looking, i searched for different solutions but all of them include black bars on the side.
i have also used a code which allows me to keep the definition as it is but it cuts the height of the level.
i want to keep the height and the width as they are but i cant do that without stretching.
can someone share with me the code of stretching the game to fit the screen?