- Home /
Question by
novikk · May 31, 2012 at 12:45 PM ·
2dresolutionscreen size
Adjust camera for different screen sizes
Hello, I suppose this question has been asked many times before, but I still cant find a way to solve this. I'm developing a 2D pong game for Android. For testing purposes, I was building it on webplayer with a 960x600 resolution. When I built the project for Android and tested it on a SGS2, it all worked perfectly. However, I've just tried it on a SGS3 and because of its bigger screen size and resolution, I see things that are supposed not to be seen, such as the left and right walls that make the ball bounce.
How can I adjust the camera so that it always displays the same regardless the device screen size / resolution?
Thanks in advanced
Comment