x


Aspect ratio problem in android phones

hi, I am making a game for android, with orthographic camera . So basically it is a 2d game, but problem is, i see a black area arround my game in lot of android moblie of my friends. How do i fix this problem? does any one have this issue using orthographic camera. please help

more ▼

asked May 20 '12 at 03:05 PM

hardRock gravatar image

hardRock
27 2 3 3

any help guys? im having this problem still.

May 23 '12 at 03:09 AM hardRock
(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

Check the below links they would be of good help. [http://forum.unity3d.com/threads/113641-Orthographic-screen-size][1]

[http://answers.unity3d.com/questions/174002/what-is-the-relationship-between-camera-size-units.html][2]

basically try playing with different values of camera size that would solve the problem for you. [1]: http://forum.unity3d.com/threads/113641-Orthographic-screen-size [2]: http://answers.unity3d.com/questions/174002/what-is-the-relationship-between-camera-size-units.html

more ▼

answered May 29 '12 at 08:14 PM

flamy gravatar image

flamy
3.5k 5 11 37

thanks it helped

May 30 '12 at 01:39 AM hardRock
(comments are locked)
10|3000 characters needed characters left

Make background wider? Make your game properly support different aspect ratios?

more ▼

answered May 23 '12 at 07:29 AM

Paulius Liekis gravatar image

Paulius Liekis
7.3k 16 24 45

that is what my problem is how do i make my game support different resolutions. and really sorry for late reply :(

May 29 '12 at 08:05 PM hardRock
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2987
x2455
x378

asked: May 20 '12 at 03:05 PM

Seen: 1273 times

Last Updated: May 30 '12 at 01:39 AM