Tag Info

New answers tagged

0

Try using the android:screenOrientation="landscape" option in the manifest file's activity tag.


0

First question: You need to have multiple images to suit the user's screen size. Second question: To get the user's screen size you would need to call the onSizeChanged() method which automatically captures the values of the screen, which you can then use to scale your images to fit the screen.


0

You should let the user choose the resolution in the graphics options, or at least the ratio (16:9, 4:3). Obviously if the resolution is right for the screen, there shouldn't be any pixel stretching.


0

If you come around to using the bars it's actually pretty simple to implement (I'm posting this even though the OP stated the opinion of it being unacceptable because it has the benefit of being not near as bad on mobile and it's a simple solution that requires no code whatsoever) Camera.orthographicSize is a variable within the ortho camera (which most 2D ...



Top 50 recent answers are included