Quantcast
Channel: Questions in topic: "screen size"
Viewing all articles
Browse latest Browse all 225

Android Relative Screen Size / Aspect?

$
0
0
I almost finished my game for android and while developing it I always tested it on my phone that has a 1920x1080 pixels screen and it worked perfectly. Now that it is almost done I tested it on another phone that only has a 1280x720 pixels screen and you can only see a section of the game (a part that would normally be in the middle of the screen). I know that you can change the aspect in unity (it is currently set to 1920x1080 for me) and I also know that you can make a canvas relative or absolute. But if I change the screen size / aspect from my current setting to 16:9 all the buttons are somewhere else in relation to the screen than they were before. Is there a way to fix this problem without having to move every button, camera etc. individually to the position I want it to be? (and so that they are at the same position on every phone regardless of the amount of pixels the screen has)

Viewing all articles
Browse latest Browse all 225

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>