I was told that I could use some sort of “getEdge()” and, define a hidden object as n% from one edge and n% from another. Could someone point me in the right direction to accomplish this?
edit: This is a 2d game.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If what I think you are asking is correct, then you just need to use dp units, or calculate a pixel/unit ratio if you are using OpenGL.
There is a fine article about the former here http://developer.android.com/guide/practices/screens_support.html