Handling different screen densities in Android Devices?

Posted by DevilWithin on Game Development See other posts from Game Development or by DevilWithin
Published on 2012-05-30T22:47:04Z Indexed on 2012/05/30 22:52 UTC
Read the original article Hit count: 312

Filed under:
|

Well, i know there are plenty of different-sized screens in devices that run Android.

The SDK I code with deploys to all major desktop platforms and android. I am aware i must have special cares to handle the different screen sizes and densities, but i just had an idea that would work in theory, and my question is exactly about that method, How could it FAIL ?

So, what I do is to have an ortho camera of the same size for all devices, with possible tweaks, but anyway that would grant the proper positioning of all elements in all devices, right? We can assume everything is drawn in OpenGLES and input handling is converted to the proper camera coordinates.

If you need me to improve the question, please tell me.

© Game Development or respective owner

Related posts about android

Related posts about opengl-es