Work With Different Screen Resolutions & Aspect Rations | Unity

preview_player
Показать описание
This is a answer to a question I found:
"I want my game to run full screen. I've tested it on iPad 2 and it runs perfect but for iPhone 4 the sides are clipped and for iPhone 5 they are clipped even more. What is the solution? Which option should I choose under Player Settings - iOS - OtherSettings - Target Resolution?"

Комментарии
Автор

OMG your a life saver I had problems with the menu stretching thing and now it’s fixed!!! Thank you and my game I am working on can now be continued!

daddadia
Автор

I am creating my first game with Unity for Android at the moment, I was having a Main Menu UI scaling issue, but this video really helped. Cheers :D

calfarrell
Автор

Thank you so much! I'm ashamed to say that I don't understand how your camera adjustment script works, what is the idea behind it, but it saved my game. After entire day of research your script just simply fixed everything.

gane
Автор

Awesome, exactly what I need. I've been playing with the camera in my game and I've found a nice angle to make the player visible no matter it's position but something was still missing. On some emulated devices some parts where zoomed out and on other device screen the some parts we're zoomed in. I'm going to try your asset and test it out.

Thanks for making the asset free :)

marcelnitan
Автор

This is a very simple solution to a complicated problem, which is very very good. Thanks for sharing!

fidel_soto
Автор

its about a week am struugling and overwelmed while searching for a solution like this, Thanks alot bro

zanyarkamaran
Автор

Thank you. Just what I was looking for. Your explanation was good and your solution works well. This video should have a much better ratio of up votes.

TheSpuggiehawk
Автор

omg thank you so much. This script is gold! Saved me big time!

sidebgaming
Автор

I want a landscape mode for my menu screen, but portrait move for the game..I can't have both it's either one of the other. How can I do 2 screen aspect ratios?

random_precision_software
Автор

That's what I was searching for thank you so much

sumanojha
Автор

this is not a permanent solution tho you have to edit everytime depend on your device

zakblacki
Автор

This doesn't work for a 2D game as far as I can tell

vista
Автор

I have question, after doing that, if I lunched the game in play store, and I made the tutorial for this, and the game is portrait, when I downloaded the game on my phone, it is will fit, and for other phone, deffrint size? And even if I made it landscape as u doing in the video, and the game is portrait, it will effect or no? Because the dimensions are fit and good, as u done in the video ????

mustafaaljanabi
Автор

Some new phones have notched screen which makes them full hd+ so in the unity ı set up 1080/1920 portrait but in full hd+ phone it looks weird even ı set it scale with the screen size

SafaAlkan
Автор

Thanks sir for this video and providing the script in the description . Thanks sir😊

sangitachoudhury
Автор

Do you know how I can Spawn cubes in random x axis from left edge of the screen to the right edge of the screen

youssefkassem
Автор

thanks mate, a good one.
keep up the epic work.

Hassanali-jryb
Автор

hi bro . how can i do game playing only landscape mode? please help me

imperator
Автор

This i really helpfull for me thanks :)

Supriya
Автор

thank you so much ... it helps a lot ...

codeKing-osbs