- Home /
Question by
mgsulaiman · Aug 19, 2013 at 04:06 AM ·
androidresolutionsphones
Build 2D game for different resolutions android phones
I've been working on 2D game.The game is to build for android phones and tablets. When I build for samsung Galaxy s3 it works great but if I install same apk on other phones it squashes all things in game.How to make build that works on all sizes of android phones as well as on Tabs.
Comment
Answer by CodeAssembler · Aug 19, 2013 at 04:39 AM
You either have to draw all at OnGUI calls basing the positioning formulas making use of Screen.with, Screen.height and so forth.
Alternatively (and what I really recommend) is to make us of one of the existing libraries for this purposes like say NGUI > http://www.tasharen.com/?page_id=140
Your answer
![](https://koobas.hobune.stream/wayback/20220613112506im_/https://answers.unity.com/themes/thub/images/avi.jpg)