Screen Height Adjustment on Android

Hi, I need some advice. I’m creating a game for Android with a vertical orientation and a 9:16 aspect ratio. The resolution is 720 x 1280.

The game is a match-3 composed of three elements: header, board, and footer.

On phones with greater height, the header and footer automatically snap to the top and bottom.

The background is 1608 pixels tall to appear complete on larger screens.

What screen settings should I choose? 720 x 1280 with the “Change height to fit the screen” setting?

Or 720 x 1608?

I’m not the biggest professional on this stuff, but I do believe that setting the resolution to 720 x 1280 and use the “Change height to fit the screen” would be your best option.
Then, you could change the position of the header and the footer accordingly. If I’m not mistaken, there’s an extension for that. I think it’s called “Anchor”

1 Like

Thanks, I’ll run some tests. I know about “Anchor,” but for convenience, I created a system that automatically positions the header and footer.

I have this in project properties

And these to control camera

And so i can do this

Because i have also this

Idea is i am changing position to camera borders of buttons to always be in same place

Where board tiles (yellow ones) are too close to camera borders i change zoom

1 Like

Thank you so much. Your response is super detailed and will be useful for many other users as well.

Your solution is interesting, and I’m reviewing everything to see if I can implement it in my project.

Thanks again!!!

1 Like