Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
202 views

Android Specifications : What are the integer values for "small" screen size, "normal" screen size, ldpi, mdpi, hdpi?

Android has this document where they define thee terms for screen size, and pixel density such as screenSize="small", "ldpi". Here is the link to that document: https://developer....
Job_September_2020's user avatar
9 votes
2 answers
32k views

How to force keep the aspect ratio and specific resolution without stretching the output screen view?

I'm using Screen.SetResolution() But when I run in Android device, it shows the output image is stretched to fill up the full screen which I don't want. I want it to keep the aspect ratio properly. ...
elliotching's user avatar
-1 votes
1 answer
385 views

Recommended aspect ratio for android / smartphones? [duplicate]

I'm making a game for android and would do it in 720p, but the phones got all different aspect ratios. Also thinking about a ios and windows phone port later. When the aspect ratio does not match, ...
t0rb's user avatar
  • 211
6 votes
2 answers
4k views

How do I support variable screen ratios using AndEngine?

When displaying a background, AndEngine produces black bars above the image on certain devices. How do I support variable screen ratios for different devices using AndEngine?
Maan's user avatar
  • 307
1 vote
2 answers
3k views

Detecting Screen Resolution in Android/AndEngine to display high or low quality images

I am developing a game with 1024x600 resolution. I can't target smaller resolution devices at this resolution, so I intend to use two graphics for the game. How do I detect which graphics to use for ...
Siddharth's user avatar
  • 1,996