Hi to all,
Hope you all will be fine. Actually i made a game. The background image is 240 x 320 (width x height). For small screen resolution like 170 x 202 i used the view port. So if screen resolution is less than 240x 320 everything is OK. But if screen resolution is larger than 240 x 320 then it looks awkward. Lot of white screen appears after 240 and 320 . Game screen starts from 0 and goes to 240 pixels. But if mobile width is large, then after 240 all the screen just white. Same goes for height case.
So i want to ask how can i overcome this case? Means whatever the mobile screen size, my game application automatically adjust with screen size. Any solution any idea. Because game can be played on different screen sizes.